summaryrefslogtreecommitdiff
path: root/Base/home
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home')
-rw-r--r--Base/home/anon/js/array.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/Base/home/anon/js/array.js b/Base/home/anon/js/array.js
new file mode 100644
index 0000000000..41e3b559a3
--- /dev/null
+++ b/Base/home/anon/js/array.js
@@ -0,0 +1,8 @@
+var a = [1, 2, 3];
+console.log(a);
+
+/*
+for (var i = 0; i < 3; ++i) {
+ console.log(a[i]);
+}
+*/