Skip to content

Instantly share code, notes, and snippets.

@dsibinski
Created November 6, 2018 18:29
Show Gist options
  • Save dsibinski/35a7702884c752f5de1f4dbb4d8ff1d7 to your computer and use it in GitHub Desktop.
Save dsibinski/35a7702884c752f5de1f4dbb4d8ff1d7 to your computer and use it in GitHub Desktop.
if(x || x === 0){
console.log('x is defined!');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment