Augment.js is a library that brings JavaScript 1.8.5 to any browser. It does this by augmenting built in types like Array
and Object
.
It combines the code snippets supplied by Mozilla for implementing methods using the exact algorithms specified in ECMA specifications.
For documentation and usage see the Augment.js docs site.
You can create a custom build of Augment.js by using the builder script. For more details run ./builder -h
from within the project directory.
Run the tests suite with make test
then open localhost:8003 in your browser. Hack, tests and open a pull request.
Thanks to Mozilla for doing most of the hard work by sharing pure JavaScript implementations for these methods on their website.