input object
a list of own and inherited non-enumerable property names
var defineProperty = require( `@stdlib/utils/define-property` );
var obj = {};
defineProperty( obj, 'beep', {
'configurable': false,
'enumerable': false,
'writable': false,
'value': 'boop'
});
var keys = nonEnumerablePropertyNamesIn( obj );
// e.g., returns [ 'beep', ... ]
Returns an array of an object's own and inherited non-enumerable property names.
Notes
null
orundefined
, the function returns an empty array.