Angus Croll 12/5/2011

Extending JavaScript Natives

Read Original

This technical article examines the controversial practice of extending JavaScript's built-in prototypes (like Array.prototype). It demonstrates how to add methods, discusses the opposition due to future-proofing and library conflicts, and suggests mitigation strategies like feature detection.

Extending JavaScript Natives

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week