Skip to content

Instantly share code, notes, and snippets.

@anderseknert
Created September 20, 2023 12:35
Show Gist options
  • Save anderseknert/d6902a4bd587e15dfa7664530e554a7f to your computer and use it in GitHub Desktop.
Save anderseknert/d6902a4bd587e15dfa7664530e554a7f to your computer and use it in GitHub Desktop.
Imperative AND
var allow
if (expression1 && expression2 && expression3) {
// allow will only be assigned true if all expressions above are true
allow = true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment