You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
core-js is included here but it is not necessary since the array spread operator is supported by Node 9.11.2. Note that this line is not added when targeting Node 10.0.0.
It seems to me the reason this file is included is because Array.values() was added by Node 10.0.0. However I am not using it in this case.
It's how it works - we have compat data for es.array.iterator, but not for Array.prototype[@@iterator] (btw, here also some other issues). Most likely, it core-js@4 or after that, I'll split Array.prototype.{ @@iterator, keys, values, entries } to different modules and it will be solved.
The following file:
With the following
.babelrc.js
:Results in:
core-js
is included here but it is not necessary since the array spread operator is supported by Node9.11.2
. Note that this line is not added when targeting Node10.0.0
.It seems to me the reason this file is included is because
Array.values()
was added by Node10.0.0
. However I am not using it in this case.Using
[email protected]
,@babel/[email protected]
, Ubuntu19.10
.The text was updated successfully, but these errors were encountered: