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 last one doesn't check for undefined, even though the variable was deleted. I think it's bad for CoffeeScript to decide to not check for undefined based on how the script was during compiling.
The text was updated successfully, but these errors were encountered:
Thanks to #2021, that syntax won't even be allowed anyway. But yeah, as @yuchi says, delete won't remove anything from scope that was added in a variable declaration, as all variables (known to the scope check) in coffeescript are. Not a bug. Feel free to re-open if you can find a way for an existentially-guarded reference to produce a ReferenceError.
Quicky shown in one code:
Compiles to
The last one doesn't check for undefined, even though the variable was deleted. I think it's bad for CoffeeScript to decide to not check for undefined based on how the script was during compiling.
The text was updated successfully, but these errors were encountered: