Skip to content

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