1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 23:14:59 +00:00

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
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]);
}
*/