Last active
September 21, 2023 23:35
-
-
Save silasolla/d765cfe37225a0f3c74eb3a8266d72d8 to your computer and use it in GitHub Desktop.
One-liner flip-flop implementation written in JavaScript
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flip = flop = () => (flip = () => (flip = flop) | 0) | 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
inspired by kazuho/fizzbuzz.js.