You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue found while working on my entry in js1k 2017.
The module log lists $ as variable, although I only use it in template strings. This can still be observed with the final code for the demo.
A new name is assigned for it, however it does not get replaced inside the string (see #57) so the output is correct.
However, the new name is squandered - it could have been assigned to another (real) variable instead. If there are not enough names left, this would lead to a character being unnecessarily allocated from outside the name pool, effectively removing a possible token.
The text was updated successfully, but these errors were encountered:
Issue found while working on my entry in js1k 2017.
The module log lists
$
as variable, although I only use it in template strings. This can still be observed with the final code for the demo.A new name is assigned for it, however it does not get replaced inside the string (see #57) so the output is correct.
However, the new name is squandered - it could have been assigned to another (real) variable instead. If there are not enough names left, this would lead to a character being unnecessarily allocated from outside the name pool, effectively removing a possible token.
The text was updated successfully, but these errors were encountered: