Emulates the functional style array methods introduced in ECMAScript 5
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
consoleJasmineReporter.js
ecma5array.js
extras.js
jasmine.js
spec.js
test

README

This Javascript library emulates the new array methods that are introduced in
ECMAScript 5. Which are: forEach, reduce, reduceRight, map, filter, every, some,
indexOf, and lastIndexOf. To use just include ecma5array.js and you are good
to go. The code is tiny, only 70 LOC.

See: 

- spec: http://www.ecma-international.org/publications/files/drafts/tc39-2009-025.pdf
- my blog post: http://tobyho.com/The_New_ECMAScript5_Array_Methods_-_NOW