Aha! She has several functional programming in JavaScript videos I've been putting off for a while, I think this is my cue to watch one. I'd like to better understand your solution. Cheers!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm sure I could make a fancy function composition but my brain is satisfied with this.
Awesome! I think you're really getting at the heart of the prompt by defining
true
andfalse
as functions.this blew me away, thank you for posting it
Glad you like it. I got the idea from this talk by Anjana Vakil.
Aha! She has several functional programming in JavaScript videos I've been putting off for a while, I think this is my cue to watch one. I'd like to better understand your solution. Cheers!