Posted almost 5 years ago

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

You might also like

Wonderous Scrollbar - An interesting way to scroll
One More Way To Boost Usability: Tell Users When They're Offline
Microsoft: No way to support WebGL and meet our security needs


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