We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Parsing JS files with the rest-params operator does not work.
Example to reproduce this:
tests.bootstrap.php
<?php require __DIR__ . '/vendor/autoload.php'; Kwf_TrlJsParser_JsParser::parseContent(file_get_contents("./test.js"));
test.js
const arr = [1, 2, 3, 4]; const obj = {"a": "b", "c": "d", "e": "f"}; const arrSpread = [...arr]; // Works const {a, ...rest} = obj; // Fails
The text was updated successfully, but these errors were encountered:
jquery/esprima#1588
Sorry, something went wrong.
Ben-Ho
No branches or pull requests
Parsing JS files with the rest-params operator does not work.
Example to reproduce this:
tests.bootstrap.php
test.js
The text was updated successfully, but these errors were encountered: