instance method Hash#values

View source on GitHub →

Hash#values() → Array

Collects the values of the hash and returns them in an array.

The order of the values is not guaranteed.

Example
var h = $H({one: "uno", two: "due", three: "tre"});
h.values();
// -> ["uno", "tre", "due"] (these may be in any order)