We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is no way to reassign variables; we can only define them.
<% let foo = "bar" %> <%= for (a) in myArray { %> <%= if (foo != "baz") { %> <% let foo = "baz" %> <% } %> <% } %> <% } %>
The inner foo loses scope. Removing the let from in front of it causes an error.
foo
let
The text was updated successfully, but these errors were encountered:
Reassign Variables fixes #37
62c5a0d
6d09d49
No branches or pull requests
There is no way to reassign variables; we can only define them.
The inner
foo
loses scope. Removing thelet
from in front of it causes an error.The text was updated successfully, but these errors were encountered: