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
The change log says "Conditional assignment of previously undefined variables", so it doesn't mean the syntax is depracated, only that the variable must be defined first.
Both or= and ?= throw an error in CoffeeScript 1.3.3 unless the variable has been previously defined. This issue should be closed.
@liqweed: Conditional assignment should be made with the ?= operator. ↩
As far as actually replacing or= with ?= is concerned, bear in mind that these two are not synonymous and cannot be swapped without it changing the JavaScript output:
CoffeeScript 1.3.1 made or= a syntax error. Conditional assignment should be made with the ?= operator.
The text was updated successfully, but these errors were encountered: