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
I believe that simply and only using a variable in an expression is already considered a side-effect. I would be happy to hear otherwise because I don't know how that could cause a side-effect. Is there a function in a class that is called each time a variable is used?
well, I'm not confident on enumerating cases that accessing simple variable can make side-effect, but with with statement it could be possible like below.
If statement and its body should not be removed by minifier because it has obvious side effect.
this minifies into:
The text was updated successfully, but these errors were encountered: