Skip to content
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

Open
fanbinghuadev opened this issue Dec 26, 2018 · 4 comments
Open

ES6 Object Spread syntax not work #998

fanbinghuadev opened this issue Dec 26, 2018 · 4 comments

Comments

@fanbinghuadev
Copy link

I found esprima 4.0.1 did not support ES6 Ojbect Spread Syntax,as follows:
let obj1 = {a: 1, b: 2};
let obj2 = {...obj1};

@memoryseven
Copy link

use babel-preset-env ,ES6->ES5.

@semmel
Copy link

semmel commented Aug 28, 2021

See Espima Issue #2034

@prantlf
Copy link

prantlf commented Apr 23, 2023

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.

@memoryseven
Copy link

memoryseven commented Apr 23, 2023 via email

This was referenced Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants