mirror of
https://github.com/github/codeql.git
synced 2026-05-04 21:25:44 +02:00
JavaScript: Accept let expressions with an object literal as their body.
This commit is contained in:
@@ -2,4 +2,6 @@ var x = 42, y = 19;
|
||||
|
||||
console.log(let (x = 23, y = 19) x + y);
|
||||
|
||||
console.log(x - y);
|
||||
console.log(x - y);
|
||||
|
||||
JSON.stringify(let (x = 23, y = 19) { x: x, y: y});
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user