Skip to content

Instantly share code, notes, and snippets.

@manuschillerdev
Created April 10, 2020 12:44
Show Gist options
  • Save manuschillerdev/002dce41df6893849f8f3049457596ea to your computer and use it in GitHub Desktop.
Save manuschillerdev/002dce41df6893849f8f3049457596ea to your computer and use it in GitHub Desktop.

unlogical chaining of conditions:

if(!conditionOne && !conditionTwo) {
    // some other code
    // and the down somewhere down the road:
    if(conditionTwo) //...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment