From d439456048ac9f9a73ff66c0b214e661b98964db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 4 Oct 2017 18:10:35 +0200 Subject: [PATCH] tests: Fix JS warning --- tests/unit/jsParse.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/jsParse.js b/tests/unit/jsParse.js index ed550c9b9..381484877 100644 --- a/tests/unit/jsParse.js +++ b/tests/unit/jsParse.js @@ -176,7 +176,7 @@ for (let i = 0; i < testsModifyScope.length; i++) { let matches = text.match(/(.*)\.(.*)/); if (matches) { - [expr, base, attrHead] = matches; + let [expr, base, attrHead] = matches; if (!JsParse.isUnsafeExpression(base)) { with (obj) {