Posted almost 5 years ago

Short note about extending JS prototypes without exposing the function in for loops.

You might also like

The client-side templating throwdown: mustache, handlebars, dust.js, and more
The Javascript Show
Code Review: A look at the code behind CoffeeScript


Jared Brown

Good to know, this probably would have gotten me at some point. I do have a bit of trouble wrapping my mind around why a prototyped function would be treated as a property and actually be printed, but from reading a few articles on this it's the way it works in JavaScript. Thanks for sharing Miles.

almost 5 years ago   Like_icon 1 likes  

Talentopoly Newsletter

A once-weekly round-up of the best programming and design posts.

Join 2050+ subscribers

We will never spam or share your email address. Easily unsubscribe

Jared_gaze_speck 15b2f7b_speck Default_speck The-web-is-my-life_speck