ChakraCore icon indicating copy to clipboard operation
ChakraCore copied to clipboard

Native for loop does not raise error when head has destructuring declaration without initializer

Open akroshg opened this issue 10 years ago • 2 comments

for (let []; ;) { } Above code should throw Syntax erroras in declaration head the array destructuring pattern does not have initializer.

akroshg avatar Jan 28 '16 23:01 akroshg

I am already working on the fix - so assigning to @akroshg

akroshg avatar Jan 28 '16 23:01 akroshg

This is fixed. Closing this issue.

akroshg avatar Jan 29 '16 20:01 akroshg