TypeError
on attempt resolve promise itselfPromise
subclass constructors / methodsPromise
-based fallback for microtaskArray#{values, @@iterator}.name
[1, 2].join(undefined) -> '1,2'
Number
constructor fixes:Number('+0x1')
should be NaN
Number(' 0b1\n')
case, should be 1
Number()
case, should be 0
Number('0b12') -> NaN
case in the shimWeak(Map|Set)#{delete, get, has}
should not throw errors #124Object('a').propertyIsEnumerable(0) // => false
, for example, Object.assign({}, 'qwe')
from the last release.name
property and Function#toString
conversion some polyfilled methodsMath.imul
arity in Safari 8-Object.{assign, values, entries}
fix for very specific caseJSON.stringify
+ Symbol
behavior from .toJSON
method to wrapping JSON.stringify
- little more correct, compat-table/642Promise
rejection hook, #106IsRegExp
logic to String#{includes, startsWith, endsWith}
and RegExp
constructor, @@match
case, exampleString#leftPad
with proposal: string filler truncated from the right sideObject.assign
- its properties order not only incorrect, it is non-deterministic and it causes some problemsObject.{
assign
,
entries, values
}
, exampleMath.sinh
with very small numbers in V8 near Chromium 38Object.assign
Array.of
toJSON
method to Symbol
polyfill and to MS Edge implementation for expected JSON.stringify
result w/o patching this methodReflect.construct
implementations w/o correct support third argumentglobal
detection with changed document.domain
in ~IE8, #100Promise
String#lpad
-> String#padLeft
String#rpad
-> String#padRight
String#trimLeft
String#trimRight
String#trim
fixed for some engines by es6 spec and moved from es5
to single es6
modulees6.object.statics-accept-primitives
freeze
-family Object
methods moved from es5
to es6
namespace and joined with es6 wrapperses5
namespace also includes modules, moved to es6
namespace - you can use it as beforeMessageChannel
priority in $.task
, #95global.Symbol
on each getting iterator, if you wanna use alternative Symbol
shim - add it before core-js
Reflect.construct
optimized and fixed for some casesReflect.enumerate
, see this questionMath.acosh
Math.imul
for old WebKitReflect.defineProperty
client/*.min.js
options for safe Function#name
and Function#length
, should be fixed #92Symbol.match
Symbol.replace
Symbol.split
Symbol.search
Map
, Set
, WeakMap
, WeakSet
constructors, Promise.all
, Promise.race
for default Array Iterator
Array.from
for default Array Iterator
core.getIteratorMethod
helperReflect.construct
with 2 argumentsFunction#bind
shim with new
.clear
methods native Weak
-collectionses6.reflect
es6.regexp
es6.math
es6.number
es7.object.to-array
core.object
core.string
core.iter-helpers
$
, $.iter
, etc)$for
to separate library. This work for syntax - for-of
loop and comprehensionsDate#{format, formatUTC}
to separate library. Standard way for this - ECMA-402
Math
methods from Number.prototype
. Slight sugar for simple Math
methods calling{Array#, Array, Dict}.turn
core.global
ToNumber
instead of ToLength
in Number Iterator
, Array.from(2.5)
will be [0, 1, 2]
instead of [0, 1]
Promise
unhandled rejection message in nested setTimeout
Number
constructor in strange case/
from RegExp.escape
escaped charactersRegExp.escape
to the latest proposalPromise
polyfillPromise
library
version return wrapped native instanceslibrary
versionMath.hypot
Promise.resolve
behaviorObject.getOwnPropertyNames
+ iframeSymbol
polyfill for old Androidcore-js
should use / recognize the same symbolsgrunt-cli
to devDependencies
for npm run grunt
Function#toString
for correct work wrapped methods / constructors with methods similar to the lodash
isNative
default
version for consistency with library
versionObject#propertyIsEnumerable
for Symbol
polyfilllibrary
for ES7 bind syntaxMath.hypot
with negative argumentsObject#toString.toString
as fallback for lodash
isNative
Array#slice
String#lpad
, String#rpad
Function#@@hasInstance
RegExp
constructorPromise
unhandled rejection tracking and resolving / rejection priority__proto__
-based Promise
subclassing in some environmentsObject.{assign, create, defineProperty, defineProperties, getOwnPropertyDescriptor, getOwnPropertyDescriptors}
with symbolsObject.{create, defineProperty, defineProperties}
Map#toJSON
Object#[_]
and Function#only
- they solves syntax problems, but now in compilers available arrows and ~~in near future will be available~~ available bind syntaxSymbol.{pure, set}
webpack
instead of browserify
for browser builds - more compression-friendly resultArray
statics with single entry pointsMath.fround
now also works in IE9-Set#toJSON
Symbol.keyFor
$for.isIterable
-> core.isIterable
, $for.getIterator
-> core.getIterator
, temporary available in old namespacePromise.all
and Promise.race
Object.defineProperty
with accessors on DOM elements on IE8iterator.return
on abort iteration, if it existsPromise
unhandled rejection tracking in shimObject.getOwnPropertyDescriptors
console
cap - creates too many problems - you can use core.log
module as thatNumber
constructorDate#toISOString
es6
moduleconsole
module: web.console
- only cap for missing methods, core.log
- bound methods & additional featuresdelay
methodObject.getOwnPropertySymbols
polyfill returns array of wrapped keysObject.getOwnPropertySymbols
NodeList.prototype[@@iterator]
@@species
logic - getter in native constructorsFunction#by
Function
instances name
property for IE9+Object
static methods accept primitivesRegExp
constructor can alter flags (IE9+)Array.prototype[Symbol.unscopables]
es6.reflect
module:Reflect.apply
Reflect.construct
Reflect.defineProperty
Reflect.deleteProperty
Reflect.enumerate
Reflect.get
Reflect.getOwnPropertyDescriptor
Reflect.getPrototypeOf
Reflect.has
Reflect.isExtensible
Reflect.preventExtensions
Reflect.set
Reflect.setPrototypeOf
core-js
methods now can use external Symbol.iterator
polyfillconsole
bugMap
& Set
:es6
and es6.collections
modulesconsole
no longer shortcut for console.log
(compatibility problems)Math.fround
(IE10+)Object.prototype
for Symbol polyfill:Symbol.useSimple
Symbol.useSetter
Symbol.hasInstance
Symbol.isConcatSpreadable
Symbol.match
Symbol.replace
Symbol.search
Symbol.species
Symbol.split
Symbol.toPrimitive
Symbol.unscopables
RegExp#flags
(December 2014 Draft Rev 29)String.raw
es7.proposals
and es7.abstract-refs
modulesString#at
String Iterator
, older versions used Array IteratorSymbol.referenceGet
Symbol.referenceSet
Symbol.referenceDelete
Function#@@referenceGet
Map#@@referenceGet
Map#@@referenceSet
Map#@@referenceDelete
WeakMap#@@referenceGet
WeakMap#@@referenceSet
WeakMap#@@referenceDelete
Dict.{...methods}[@@referenceGet]
.contains
methodsArray#copyWithin
String#codePointAt
String.fromCodePoint
Dict.mapPairs
.contains
-> .includes
String#contains
-> String#includes
Array#contains
-> Array#includes
Dict.contains
-> Dict.includes
WeakMap#clear
WeakSet#clear
Map
& Set
bug fixAdd the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.