Hacker News new | ask | show | jobs
by seangrogg 3710 days ago
In which case, if you really can't live without it, just attach it to the prototype.

Object.prototype.each = function(k,v){ //... }