repl.txt (764B)
1 2 {{alias}}( value[, level] ) 3 Returns an array of an object's inherited non-enumerable property names. 4 5 Name order is not guaranteed, as object key enumeration is not specified 6 according to the ECMAScript specification. In practice, however, most 7 engines use insertion order to sort an object's keys, thus allowing for 8 deterministic extraction. 9 10 If provided `null` or `undefined`, the function returns an empty array. 11 12 Parameters 13 ---------- 14 value: any 15 Input value. 16 17 level: integer (optional) 18 Inheritance level. 19 20 Returns 21 ------- 22 keys: Array 23 List of an object's inherited non-enumerable property names. 24 25 Examples 26 -------- 27 > var keys = {{alias}}( {} ) 28 29 See Also 30 -------- 31