#And I – like a moron – gave Boolean answers instead of JavaScript's enlightened method
Explore tagged Tumblr posts
Text
Had to do a basic JS refresher for a module and god weak/dynamic languages are the worst.
I really hope people aren't writing code that relies on the actual value returned and not just its truthiness, that seems like hell to debug.
#I only discovered this because done of the questions on the quiz asked what the return values of a bunch of ANDs were#And I – like a moron – gave Boolean answers instead of JavaScript's enlightened method
3 notes
·
View notes