tests: Fix JS warning
This commit is contained in:
@@ -176,7 +176,7 @@ for (let i = 0; i < testsModifyScope.length; i++) {
|
|||||||
|
|
||||||
let matches = text.match(/(.*)\.(.*)/);
|
let matches = text.match(/(.*)\.(.*)/);
|
||||||
if (matches) {
|
if (matches) {
|
||||||
[expr, base, attrHead] = matches;
|
let [expr, base, attrHead] = matches;
|
||||||
|
|
||||||
if (!JsParse.isUnsafeExpression(base)) {
|
if (!JsParse.isUnsafeExpression(base)) {
|
||||||
with (obj) {
|
with (obj) {
|
||||||
|
Reference in New Issue
Block a user