Re:An Object is not a Hash
by kansface on Tuesday October 09, 2012 @02:53AM
(#4630323)
Instead of writing code around the problem, its better to just use a safe reference (ie, use Underscore's has method which will call Object.prototype.hasOwnProperty). This way code stays both simple and safe.
[ Parent
| on HN ]
There are no comments on this comment yet.