values

Object.values(obj) -> Array

Treats any object as a Hash and fetches the list of its property values.

Note that the order of the resulting Array is browser-dependent (it relies on the for…in loop), and is therefore not guaranteed to follow either declaration or lexicographical order. Also, remember that while property names are unique, property values have no constraint whatsoever.

Examples


Object.values()
// -> []

Object.values({ name: 'Prototype', version: 1.5 }).sort()
// -> [1.5, 'Prototype']
Продажа квартир в Краснодаре, из рук в руки г.Краснодар, школы на главном сайте г.Краснодар . Работа, рестораны Самара, знакомства на главном портале г.Самара . Этот сайт содержит игры спанч боба веселые и интересные новости.