JavaScript: Reflect.enumerate

By Xah Lee. Date: . Last updated: .

New in JS2015.

Reflect.enumerate( obj )

Return a iterator object of the obj's property keys that are string keyed and enumerable.

Note: This function has been removed in ES7. It is not implemented in browsers.

Use Object.keys( obj) instead.

JavaScript in Depth