-
Notifications
You must be signed in to change notification settings - Fork 671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES6 Object Spread syntax not work #998
Comments
use babel-preset-env ,ES6->ES5. |
I needed a to parse a contemporary JavaScript language without the overhead of preprocessing the source files by Babel. I replaced the outdated Esprima parser with Meriyah. I maintain this change together with the enhanced source map support as @prantlf/requirejs. |
我将尽快给您回复。
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found esprima 4.0.1 did not support ES6 Ojbect Spread Syntax,as follows:
let obj1 = {a: 1, b: 2};
let obj2 = {...obj1};
The text was updated successfully, but these errors were encountered: