instance method Hash#get

View source on GitHub →

Hash#get(key) → value

Returns the stored value for the given key.

Examples
var h = new Hash({a: 'apple', b: 'banana', c: 'coconut'});
h.get('a');
// -> 'apple'