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
The following causes documentation.js to throw an error of the sort TypeError: Cannot read property 'start' of undefined.
// tail.jsconsttail=([, ...xs])=>xs;export{tail};
The text was updated successfully, but these errors were encountered:
puiutucutu
changed the title
Destructuring function array argument fails when skipping optional array arg
Destructuring function array argument fails when skipping array arg
May 31, 2019
Even though both following code samples are valid ES6 javascript and are interpreted by
babel
the same way, we have different behaviour.^11.0.0
Node.js
Good
The following code is accepted by
documentation.js
.Bad
The following causes
documentation.js
to throw an error of the sortTypeError: Cannot read property 'start' of undefined
.The text was updated successfully, but these errors were encountered: