summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2025-03-18 18:34:05 +0100
committerFabrice Bellard <fabrice@bellard.org>2025-03-18 18:34:05 +0100
commit543897ab7b7ae8a502b70a451ba2d45d0e2219a3 (patch)
treedcb7a146be4cf89ab0fb7d7b84efb038fbd12938
parent61e8b9442840bf94a2a9b0b872c8b3a197c1eac3 (diff)
downloadquickjs-543897ab7b7ae8a502b70a451ba2d45d0e2219a3.tar.gz
quickjs-543897ab7b7ae8a502b70a451ba2d45d0e2219a3.zip
added missing variable
-rw-r--r--tests/test_loop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_loop.js b/tests/test_loop.js
index d387cad..50e2122 100644
--- a/tests/test_loop.js
+++ b/tests/test_loop.js
@@ -149,7 +149,7 @@ function test_for_in()
function test_for_in2()
{
- var i;
+ var i, tab;
tab = [];
for(i in {x:1, y: 2, z:3}) {
if (i === "y")