get
1.6
get(key) -> value
Returns the value of the hash’s key property.
Examples
var h = new Hash({ a: 'apple', b: 'banana', c: 'coconut' });
h.get('a');
// -> 'apple'
h.get('d');
// -> undefined
easing the pain of dynamic web applications
get(key) -> value
Returns the value of the hash’s key property.
var h = new Hash({ a: 'apple', b: 'banana', c: 'coconut' });
h.get('a');
// -> 'apple'
h.get('d');
// -> undefined