Welcome To Snipplr
Everyone's Recent Snippets Tagged javascript
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
jQuery
js - jQuery - jQueryLoader - check if $ is undefined, then load jquery with pure javascript if needed
0
1057
posted 14 years ago by brandonjp
each in Array,It can operate each element in Array.
e.g.
var result = [1,2,3,4].each(function(x){return Math.sqrt(x);});
//it return sqrt in [1,2,3,4]'s each item
0
515
posted 14 years ago by hand4ever