first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

1man's Recent SnippetsTagged object

« Prev 1 Next »
Using an object as a simple switch.
0 638 posted 12 years ago by 1man
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 630 posted 15 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 532 posted 16 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 463 posted 16 years ago by 1man
Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.
1 569 posted 16 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 850 posted 16 years ago by 1man
« Prev 1 Next »