1man


Member since 07/01/2006

Name: Matt Hobbs

Location: London

Website: http://nooshu.com

6 snippets

43178 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

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

1man's Recent JavaScript SnippetsTagged object



« Prev 1 Next »
Using an object as a simple switch.
0 1815 posted 15 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 2098 posted 18 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 1843 posted 18 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 1421 posted 19 years ago by 1man
Extend a custom object, and a pre-defined object(e.g. string) using .prototype available in JS.
1 1655 posted 19 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 2253 posted 19 years ago by 1man
« Prev 1 Next »