Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Javascript for...of loop compiling issue #246

Open
SongX-23 opened this issue Dec 23, 2016 · 1 comment
Open

Javascript for...of loop compiling issue #246

SongX-23 opened this issue Dec 23, 2016 · 1 comment

Comments

@SongX-23
Copy link

SongX-23 commented Dec 23, 2016

  • Recently, I spot a javascript compile issue from Web Essentials on Visual Studio 2015.
    The following is my plain javascript code.
    JS

  • After it has been compiled and published to the server, the compiled javascript code is not right and it throws an error because it tries to loop through itself.
    Compiled JS

  • If I change the way of writing iterations to old fashion, the compile issue is gone.
    Fix

  • Many for..of loops have this issue in the same file. Probably worth to have a look. :)

  • I cannot really give you a self-contained example. Sorry about that

@SongX-23
Copy link
Author

SongX-23 commented Dec 23, 2016

No... It still happen after the fix

@SongX-23 SongX-23 reopened this Dec 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant