repl.txt (649B)
1 2 {{alias}}( obj ) 3 Returns an array of an object's own enumerable property values. 4 5 Value 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 Parameters 11 ---------- 12 obj: ObjectLike 13 Input object. 14 15 Returns 16 ------- 17 values: Array 18 Value array. 19 20 Examples 21 -------- 22 > var obj = { 'beep': 'boop', 'foo': 'bar' }; 23 > var vals = {{alias}}( obj ) 24 e.g., [ 'boop', 'bar' ] 25 26 See Also 27 -------- 28