Skip to content

Instantly share code, notes, and snippets.

@tts7en
tts7en / a.js
Last active June 16, 2023 16:35
const ZERO = 0;
const ONE = 1;
const TWO = 2;
/**
* Checks if a's state satisfies a certain requirement so that the
* caller function can understand what's happening with a and
* process accordingly.
*/
function checkA(a) {