added missing variable

This commit is contained in:
Fabrice Bellard 2025-03-18 18:34:05 +01:00
parent 61e8b94428
commit 543897ab7b

View File

@ -149,7 +149,7 @@ function test_for_in()
function test_for_in2() function test_for_in2()
{ {
var i; var i, tab;
tab = []; tab = [];
for(i in {x:1, y: 2, z:3}) { for(i in {x:1, y: 2, z:3}) {
if (i === "y") if (i === "y")