Skip to content

Instantly share code, notes, and snippets.

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