parse destructuring under strict mode correctly (#4429)

This commit is contained in:
Alex Lam S.L
2020-12-20 12:48:51 +00:00
committed by GitHub
parent 89198e0ad4
commit 7aefe97083
3 changed files with 29 additions and 8 deletions

View File

@@ -0,0 +1,8 @@
function f() {
var { eval } = null;
}
function g() {
"use strict";
var { eval } = 42;
}