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 did that on purpose to make the code smaller. Don't like seeing a lot of lines when I don't need it. As this was sort of a hack, I'm not even sure if I changed the .jshintrc to suppress that kind of warning.
Was looking through index.js and found
and
and so forth.
Noticed it was not a statement nor a function call, but something like (i.e. true/false && execute())
Some JS linting notices this and throws some warnings/errors like
and after some digging found this to be more of an readability issue, as tools like uglify.js turn "if(this) {that()}" into "this && that()"
Brief discussion about this in
airbnb/javascript#52
The text was updated successfully, but these errors were encountered: