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:
parent
0891f860f7
commit
a82f64d3d6
9 changed files with 176 additions and 0 deletions
8
Base/home/anon/js/array.js
Normal file
8
Base/home/anon/js/array.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
var a = [1, 2, 3];
|
||||
console.log(a);
|
||||
|
||||
/*
|
||||
for (var i = 0; i < 3; ++i) {
|
||||
console.log(a[i]);
|
||||
}
|
||||
*/
|
Loading…
Add table
Add a link
Reference in a new issue