Profile
Achievement
segdeha's Recent JavaScript Snippets
- All /
« Prev 1 Next »
Adds a method to the Array object that lets you slice the array down to everything before the given value.
0
375
posted 14 years ago by segdeha
Assign methods to a Function prototype when you intend to create instances of the type of object. Use object literals when you just need a container for functions.
0
757
posted 14 years ago by segdeha