If you don't mind tech-related ads, and want to keep us running, whitelist JSFiddle in your ad blocker.
Thank you! ❤️
I don't see why this still works in most browsers. But that is ok.
jQuery 2.2.3, HTML, CSS, Babel + JSX
This can be useful if you are doing a lot of conditional checking on enum type variables. Instead create a map with a function that pertains to how you would handle cases like that.
Toggling returnsTrue back and forth from true and false makes it so didRun returns "yes"