diff options
Diffstat (limited to 'test/input/invalid/for-in_1.js')
-rw-r--r-- | test/input/invalid/for-in_1.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/input/invalid/for-in_1.js b/test/input/invalid/for-in_1.js new file mode 100644 index 00000000..4d872d19 --- /dev/null +++ b/test/input/invalid/for-in_1.js @@ -0,0 +1,4 @@ +var a, b = [1, 2]; +for (1, 2, a in b) { + console.log(a, b[a]); +} |