if (something && somethingElse === true) {
someProp = true;
} else {
someProp = false;
}

Yup, these exist in the wild.

Follow

This exact pattern is repeated three times in the same file.

Sign in to participate in the conversation
Octodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!