1. Computing & Technology

Extending Built In Objects

From Stephen Chapman, About.com GuideMarch 23, 2011

JavaScript doesn't limit you to the methods that the built in objects supply. In JavaScript objects are easily adaptable at any time. If you need a new method for an existing object then you can add it even if you have been using the object without that method in your code. Adding new methods to the built in JavaScript objects is the easiest way to get started on the move toward creating your own object oriented JavaScript.

Extending Built In Objects

Comments
No comments yet.  Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved.

A part of The New York Times Company.