http://kangax.github.io/es5-compat-table/
We should start to use strict mode, Object, Array, and getter/setter etc new features with browser native support.
Strict mode
Object.create
Object.defineProperty
Object.defineProperties
Object.getPrototypeOf
Object.keys
Object.seal
Object.freeze
Object.preventExtensions
Object.isSealed
Object.isFrozen
Object.isExtensible
Object.getOwnPropertyDescriptor
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
Getter in property initializer
Setter in property initializer
Date.prototype.toISOString
Date.now
JSON
Function.prototype.bind
String.prototype.trim
No comments:
Post a Comment