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
- Host: GitHub
- URL: https://github.com/integralist/ecmascript-5-tests
- Owner: Integralist
- Created: 2012-09-29T14:49:54.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-09-29T19:54:45.000Z (over 13 years ago)
- Last Synced: 2025-06-01T04:23:02.141Z (about 1 year ago)
- Size: 97.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`