Profile
Achievement


1man's Recent SnippetsTagged object
- All /
« Prev 1 Next »
Every function has an object called the arguments object. This is an object that contains all the arguments that were passed to the function. The example below shows how to access these. Very rarely used but useful to know. Note: it may look like an...
2
181
posted 13 years ago by 1man
Create a simple object and add properties and a method. Note where the object is parsed (not from top to bottom).
2
152
posted 13 years ago by 1man
Shows you how to link 2 objects together via the object function. If a value isn't found in the object, it will look for it in the linked object.
0
144
posted 13 years ago by 1man
Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.
1
151
posted 13 years ago by 1man
This functions allows you to create a new XMLHTTPRequest, it checks to see if the browser supports each method, if not it returns false.
4
250
posted 13 years ago by 1man