An open API service indexing awesome lists of open source software.

https://github.com/integralist/ecmascript-5-tests

Some basic ES5 tests
https://github.com/integralist/ecmascript-5-tests

Last synced: 5 months ago
JSON representation

Some basic ES5 tests

Awesome Lists containing this project

README

          

#ECMAScript 5: Tests

Just some super basic tests of the new `Object` and `Array` methods available in ES5 which I'm interested in using in a future project.

Note: for list of methods that cannot be 100% shim'ed see [https://github.com/kriskowal/es5-shim](https://github.com/kriskowal/es5-shim)

For compatability tables see: [http://kangax.github.com/es5-compat-table/](http://kangax.github.com/es5-compat-table/)

* `Object.create`
* `Object.defineProperty`
* `Object.defineProperties`
* `Object.getPrototypeOf`
* `Object.keys`
* `Object.getOwnPropertyNames`
* `Array.isArray`
* `Array.prototype.indexOf`
* `Array.prototype.lastIndexOf`
* `Array.prototype.every`
* `Array.prototype.some`
* `Array.prototype.forEach`
* `Array.prototype.map`
* `Array.prototype.filter`
* `Array.prototype.reduce`
* `Array.prototype.reduceRight`