Skip to content
This repository has been archived by the owner on Dec 14, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (12 loc) · 670 Bytes

es5.md

File metadata and controls

15 lines (12 loc) · 670 Bytes

ECMAScript 5 Polyfill

script - unit tests

ECMAScript 5 Object, Function, String and Date extras:

  • Object: getPrototypeOf, getOwnPropertyNames, create, defineProperty, defineProperties, keys
  • Function prototype: bind
  • Array: isArray
  • Array prototype: indexOf, lastIndexOf, every, some, forEach, map, filter, reduce, reduceRight
  • String prototype: trim
  • Date: now
  • Date prototype: toISOString

Does not include JSON - use json2.js