Profile
Achievement
Waltem's Recent Snippets
- All /
« Prev 1 Next »
IIFE - Immediately Invoked Function Expression.
http://gregfranko.com/jquery-best-practices/#/7
http://gregfranko.com/jquery-best-practices/#/8
0
983
posted 9 years ago by Waltem
Array.prototype.forEach
You can't break forEach. So use "some" or "every".
Array.prototype.some
some is pretty much the same as forEach but it break when the callback returns true.
Array.prototype.every
every is almost identical to some except i...
0
1118
posted 9 years ago by Waltem