diff options
author | 2021-05-08 14:23:52 -0700 | |
---|---|---|
committer | 2021-05-08 14:23:52 -0700 | |
commit | 18794b18b32e5cfeb190f29fe29590d742a327e8 (patch) | |
tree | b353a9a2f4893af782b5cdb95c68a338c26bd080 /src/test/fixtures/for-loop-bug.js | |
parent | e70ac2ce825ecf5f2d6aa16152801612bf23be8d (diff) | |
download | bun-18794b18b32e5cfeb190f29fe29590d742a327e8.tar.gz bun-18794b18b32e5cfeb190f29fe29590d742a327e8.tar.zst bun-18794b18b32e5cfeb190f29fe29590d742a327e8.zip |
Fix for loop initializer
Former-commit-id: 6b863d5d51f7f1bc293e56ed395fe4ad49174f63
Diffstat (limited to 'src/test/fixtures/for-loop-bug.js')
-rw-r--r-- | src/test/fixtures/for-loop-bug.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/fixtures/for-loop-bug.js b/src/test/fixtures/for-loop-bug.js new file mode 100644 index 000000000..6539caaa0 --- /dev/null +++ b/src/test/fixtures/for-loop-bug.js @@ -0,0 +1,5 @@ +// For loop was missing initializer +for (let i = 0; i < 100; i++) { + console.log("hi"); + console.log("hey"); +} |