Fixing for..in, runaway string allocation, array.length initialization.

git-svn-id: svn://10.0.0.236/trunk@140728 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
2003-04-04 23:24:57 +00:00
parent 3b2f21d079
commit bbfe54bd1e
9 changed files with 89 additions and 68 deletions

View File

@@ -121,6 +121,8 @@ js2val Array_Constructor(JS2Metadata *meta, const js2val /*thisValue*/, js2val *
setLength(meta, arrInst, i);
}
}
else
setLength(meta, arrInst, 0);
return thatValue;
}