Recently, I spot a javascript compile issue from Web Essentials on Visual Studio 2015.
The following is my plain javascript code.
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.
If I change the way of writing iterations to old fashion, the compile issue is gone.
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
Recently, I spot a javascript compile issue from Web Essentials on Visual Studio 2015. The following is my plain javascript code.
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.
If I change the way of writing iterations to old fashion, the compile issue is gone.
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