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
1004
posted 17 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
901
posted 17 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
774
posted 18 years ago by 1man
Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.
1
896
posted 18 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
1266
posted 18 years ago by 1man