Hacker News new | past | comments | ask | show | jobs | submit login

In which case, if you really can't live without it, just attach it to the prototype.

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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: