values :: Hash |
The order of values is browser implementation-dependent (based on the for…in loop on keys), so—although most of the time you will see it as consistent—it’s better not to rely on a specific order. Also remember that the hash may contain values such as null or even undefined.
Examples
$H({ name: 'Prototype', version: 1.5 }).values().sort() // -> [1.5, 'Prototype']
$H().values() // -> []
|
Prototype API 1.5.0 - prototypejs.org