Skip to content

ES6 Object Spread syntax not work  #998

Open

Description

@fanbinghuadev

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

Activity

  1. memoryseven commented on Jan 18, 2019

    @memoryseven

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

  2. semmel commented on Aug 28, 2021

    @semmel
  3. prantlf commented on Apr 23, 2023

    @prantlf

    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.

  4. memoryseven commented on Apr 23, 2023

    @memoryseven
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions