LibJS: Parse ArrayExpression and start implementing Array objects

Note that property lookup is not functional yet.
This commit is contained in:
Andreas Kling 2020-03-20 20:29:57 +01:00
parent 0891f860f7
commit a82f64d3d6
Notes: sideshowbarker 2024-07-19 08:12:47 +09:00
9 changed files with 176 additions and 0 deletions

View file

@ -0,0 +1,8 @@
var a = [1, 2, 3];
console.log(a);
/*
for (var i = 0; i < 3; ++i) {
console.log(a[i]);
}
*/