Skip to content

Instantly share code, notes, and snippets.

@uupaa
Last active October 23, 2018 12:02
Show Gist options
  • Select an option

  • Save uupaa/5c9bbac795d401d09d25 to your computer and use it in GitHub Desktop.

Select an option

Save uupaa/5c9bbac795d401d09d25 to your computer and use it in GitHub Desktop.
ES6 and ES7 new keywords
  • resources
  • new keywords(but not ensure)
    • new Map
    • new Proxy
    • new Promise
    • new Set
    • new Symbol
    • new WeakMap
    • new WeakSet
    • new Reflect
    • Object.name
    • Object.assign
    • Object.create
    • Object.defineProperties (ES5)
    • Object.defineProperty (ES5)
    • Object.freeze (ES5)
    • Object.getOwnPropertyDescriptor (ES5)
    • Object.getOwnPropertyNames (ES5)
    • Object.getOwnPropertySymbols
    • Object.getPrototypeOf
    • Object.is
    • Object.isExtensible (ES5)
    • Object.isFrozen (ES5)
    • Object.isSealed (ES5)
    • Object.keys (ES5)
    • Object.preventExtensions
    • Object.seal (ES5)
    • Object.setPrototypeOf
    • Object.prototype.hasOwnProperty (ES5?)
    • Object.prototype.isPrototypeOf
    • Object.prototype.propertyIsEnumerable (ES5?)
    • Function.prototype.bind (ES5)
    • Symbol.for
    • Symbol.hasInstance
    • Symbol.isConcatSpreadable
    • Symbol.iterator
    • Symbol.keyFor
    • Symbol.match
    • Symbol.replace
    • Symbol.search
    • Symbol.species
    • Symbol.split
    • Symbol.toPrimitive
    • Symbol.toStringTag
    • Symbol.unscopables
    • Number.EPSILON
    • Number.isNaN
    • Number.isSafeInteger
    • Number.MAX_SAFE_INTEGER = 9007199254740991 (253−1)
    • Number.MAX_VALUE
    • Number.MIN_SAFE_INTEGER = −9007199254740991 (−(253−1))
    • Number.MIN_VALUE
    • Number.NaN
    • Number.NEGATIVE_INFINITY
    • Number.parseFloat
    • Number.parseInt
    • Number.POSITIVE_INFINITY
    • Number.prototype.toExponential
    • Number.prototype.toPrecision
    • Math.E
    • Math.LOG10E
    • Math.LOG2E
    • Math.acosh
    • Math.asinh
    • Math.atanh
    • Math.cbrt
    • Math.clz32
    • Math.cosh
    • Math.exp
    • Math.expm1
    • Math.floor
    • Math.fround
    • Math.hypot
    • Math.imul
    • Math.log1p
    • Math.log10
    • Math.log2
    • Math.sign
    • Math.sinh
    • Math.tanh
    • String.fromCharCode
    • String.fromCodePoint
    • String.raw
    • String.prototype.codePointAt
    • String.prototype.concat
    • String.prototype.endsWith
    • String.prototype.includes
    • String.prototype.normalize
    • String.prototype.repeat
    • String.prototype.startsWith
    • %StringIteratorPrototype%.next
    • RegExp.prototype.unicode
    • Array.from
    • Array.of
    • Array.observe (ES7?)
    • Array.prototype.copyWithin
    • Array.prototype.entries
    • Array.prototype.fill
    • Array.prototype.find
    • Array.prototype.findIndex
    • Array.prototype.includes (ES6 -> ES7)
    • Array.prototype.keys
    • Array.prototype.values
    • %ArrayIteratorPrototype%.next
    • %TypedArray%.from
    • %TypedArray%.of
    • %TypedArray%.prototype.copyWithin
    • %TypedArray%.prototype.entries
    • %TypedArray%.prototype.every
    • %TypedArray%.prototype.fill
    • %TypedArray%.prototype.filter
    • %TypedArray%.prototype.find
    • %TypedArray%.prototype.findIndex
    • %TypedArray%.prototype.forEach
    • %TypedArray%.prototype.indexOf
    • %TypedArray%.prototype.join
    • %TypedArray%.prototype.keys
    • %TypedArray%.prototype.lastIndexOf
    • %TypedArray%.prototype.map
    • %TypedArray%.prototype.reduce
    • %TypedArray%.prototype.reduceRight
    • %TypedArray%.prototype.reverse
    • %TypedArray%.prototype.set ( overloaded [ , offset ])
    • %TypedArray%.prototype.set (array [ , offset ] )
    • %TypedArray%.prototype.set(typedArray [, offset ] )
    • %TypedArray%.prototype.slice ( start, end )
    • %TypedArray%.prototype.some
    • %TypedArray%.prototype.sort
    • %TypedArray%.prototype.includes (ES6 -> ES7)
    • %TypedArray%.prototype.toString
    • %TypedArray%.prototype.values
    • %TypedArray%.prototype [ @@iterator ] ( )
    • TypedArray.BYTES_PER_ELEMENT
    • TypedArray.prototype.BYTES_PER_ELEMENT
    • Map.prototype.clear
    • Map.prototype.delete
    • Map.prototype.entries
    • Map.prototype.forEach
    • Map.prototype.get
    • Map.prototype.has
    • Map.prototype.keys
    • Map.prototype.set
    • get Map.prototype.size
    • Map.prototype.values
    • Map.prototype @@iterator
    • %MapIteratorPrototype%.next ( )
    • Set.prototype.add
    • Set.prototype.clear
    • Set.prototype.entries
    • Set.prototype.forEach
    • Set.prototype.has
    • Set.prototype.keys
    • get Set.prototype.size
    • Set.prototype.values
    • Set.prototype [ @@iterator ] ( )
    • %SetIteratorPrototype%.next ( )
    • WeakMap.prototype.delete
    • WeakMap.prototype.get
    • WeakMap.prototype.has
    • WeakMap.prototype.set
    • WeakSet.prototype.add
    • WeakSet.prototype.delete
    • WeakSet.prototype.has
    • ArrayBuffer.isView
    • ArrayBuffer.prototype.slice
    • Generator.prototype.next ( value )
    • Generator.prototype.return ( value )
    • Generator.prototype.throw ( exception )
    • Promise ( executor )
    • Promise.all ( iterable )
    • Promise.race ( iterable )
    • Promise.reject ( r )
    • Promise.resolve ( x )
    • Promise.prototype.catch ( onRejected )
    • Promise.prototype.then ( onFulfilled , onRejected )
    • Reflect.apply ( target, thisArgument, argumentsList )
    • Reflect.construct ( target, argumentsList [, newTarget] )
    • Reflect.defineProperty ( target, propertyKey, attributes )
    • Reflect.deleteProperty ( target, propertyKey )
    • Reflect.enumerate ( target )
    • Reflect.get ( target, propertyKey [ , receiver ])
    • Reflect.getOwnPropertyDescriptor ( target, propertyKey )
    • Reflect.getPrototypeOf ( target )
    • Reflect.has ( target, propertyKey )
    • Reflect.isExtensible (target)
    • Reflect.ownKeys ( target )
    • Reflect.preventExtensions ( target )
    • Reflect.set ( target, propertyKey, V [ , receiver ] )
    • Reflect.setPrototypeOf ( target, proto )
    • Proxy ( target, handler )
    • Proxy.revocable ( target, handler )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment