summaryrefslogtreecommitdiff
path: root/Base/home/anon/js
diff options
context:
space:
mode:
Diffstat (limited to 'Base/home/anon/js')
-rw-r--r--Base/home/anon/js/gc-strings.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/Base/home/anon/js/gc-strings.js b/Base/home/anon/js/gc-strings.js
new file mode 100644
index 0000000000..39d5400817
--- /dev/null
+++ b/Base/home/anon/js/gc-strings.js
@@ -0,0 +1,8 @@
+function foo() {
+ var a = [];
+ for (var i = 0; i < 4000; ++i) {
+ a.push("string" + i);
+ }
+}
+
+foo();