CoffeeScriptRedux
CoffeeScriptRedux copied to clipboard
Assignment inside iterator scope
This:
for x in myList
x ?= 1
throws Error: the variable "x" can't be assigned with ?= because it has not been defined.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
https://github.com/michaelficarra/CoffeeScriptRedux/issues/299 looks like the same bug, although this example is broader -- no destructuring is needed to trigger the bug.