DescriptionPreparsing inner funcs: Update tests.
1) Fix confusion between for of and for in.
2) If a for loop doesn't declare its variables, no new variables
are introduced (the outer scope variables are used).
3) Add more cases for destructuring for and destructuring catch.
BUG=v8:5501, v8:5516
Review-Url: https://codereview.chromium.org/2614023004
Cr-Commit-Position: refs/heads/master@{#42125}
Committed: https://chromium.googlesource.com/v8/v8/+/bd62841eb9ba58d7aaf5c06d718ec05b7fefe2bc
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 14 (10 generated)
|