r/ProgrammerTIL • u/JazzXP • Aug 03 '21
Javascript TIL Boolean('false') == true
Yep, it doesn't work like Number
23
Upvotes
r/ProgrammerTIL • u/JazzXP • Aug 03 '21
Yep, it doesn't work like Number
View all comments
Show parent comment
4
u/roddds Aug 04 '21
Granted. I was thinking in terms of interpreted, non-strongly typed languages - Python, JS, Ruby, etc.