Skip to content

Instantly share code, notes, and snippets.

@medikoo
Last active March 24, 2021 22:29
Show Gist options
  • Save medikoo/102b7d0e697627133788 to your computer and use it in GitHub Desktop.
Save medikoo/102b7d0e697627133788 to your computer and use it in GitHub Desktop.
List of ECMAScript 6 shims

List of ECMAScript 6 shims

Implemented on top of ECMAScript 5

Provided as distinct CJS modules, installable via npm


ECMAScript 5 Built-in Objects extensions

Individual modules of es5-ext package. See ES6 features for usage information.

Array

Number

Object

RegExp

String

Math


New ECMAScript 6 built-in objects

Map -> es6-map
Set -> es6-set
Symbol -> es6-symbol
WeakMap -> es6-weak-map

Other utilities

Implementation of for..of iteration, with forOf(iterable, callback[, thisArg]) function

Template strings -> es6-template-strings

Template strings notation compiler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment