Skip to content

Instantly share code, notes, and snippets.

@a-x-
Created September 20, 2024 15:11
Show Gist options
  • Save a-x-/3d8d0a37a612eca537a9f9fcfbc2f9fa to your computer and use it in GitHub Desktop.
Save a-x-/3d8d0a37a612eca537a9f9fcfbc2f9fa to your computer and use it in GitHub Desktop.
// Купи батон хлеба, если будут яйца - возьми десяток.
if (eggs) {
buyEggs();
}
if (bread) {
buyBread();
}
/*
| bread | eggs | buyBread | buyEggs |
|-------|------|---------|----------|
| true | true | true | true |
| true | false| true | false |
| false | true | false | true |
| false | false| false | false |
*/
// b => +b
// e => +e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment