summaryrefslogtreecommitdiff
path: root/Base/home/anon/Source/js/for-loop.js
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/Source/js/for-loop.js')
-rw-r--r--Base/home/anon/Source/js/for-loop.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/Base/home/anon/Source/js/for-loop.js b/Base/home/anon/Source/js/for-loop.js
new file mode 100644
index 0000000000..9602468d59
--- /dev/null
+++ b/Base/home/anon/Source/js/for-loop.js
@@ -0,0 +1,5 @@
+var x = 0;
+for (var i = 0; i !== 3; i += 1) {
+ x += 2;
+}
+x;