ECMAScript5 features now supported by all browser vendors. Almost every time I forget that many handy functions are introduced in ES5 and I don’t need to write utility functions for it. So I feel to dump all features in a post so that I can find which features are natively provided by ES5.

  1. Object
    1. Object.create
    2. Object.defineProperty
    3. Object.defineProperties
    4. Object.getPrototypeOf
    5. Object.keys
    6. Object.freeze
    7. Object.seal
    8. Object.preventExtensions
    9. Object.isSealed
    10. Object.isFrozen
    11. Object.isExtensible
    12. Object.getOwnPropertyDescriptor
    13. Object.getOwnPropertyNames
  2. Date
    1. Date.prototype.toISOString
    2. Date.now
  3. Array
    1. Array.isArray
    2. Array.prototype.indexOf
    3. Array.prototype.lastIndexOf
    4. Array.prototype.every
    5. Array.prototype.some
    6. Array.prototype.forEach
    7. Array.prototype.filter
    8. Array.prototype.map
    9. Array.prototype.reduce
    10. Array.prototype.reduceRight
  4. JSON
    1. JSON.parse
    2. JSON.stringify
  5. Function
    1. Function.prototype.bind
  6. String
    1. String.prototype.trim
  7. strict mode

© 2016. All Rights Reserved.

Proudly published with Ghost