Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

for...of -> es6-iterator/for-of

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
You can’t perform that action at this time.