documentcloud/underscore — pull request #512 by braddunbar (2012-03-17 17:07:52+00:00)
Title: Add utility function `getValue`.

It was recently suggested in IRC that the internal Backbone helper `getValue` would make a good addition to underscore's utility functions. I mix it in to underscore in most of my projects and I think it fits rather nicely.

I made one change to Backbone's implementation and returned falsey values as is instead of `null`.

```javascript
_.getValue({zero: 0}, 'zero');
=> 0
```