Some methods are so obviously useful that browsers add native support for them. One thing we need to cater for if we are adding methods to the built in JavaScript objects is that the methods we are adding may eventually be supported as built in methods by some browsers. Where this happens we may want to check whether the browser already has the method before we add our own version.
Comments
No comments yet. Leave a Comment
