Intro
This post was originally posted on medium
I’ve been learning coding on / off for about 2 years now. Fallen off the wagon plenty of times....
For further actions, you may consider blocking this person and/or reporting abuse
Beware when using numbers as booleans though. Despite
true == 1
returningtrue
,true === 1
returnsfalse
.Thanks well noted. Will cover it in assignment operators
Nice post! I only missed that you don't mention other falsy values in the Boolean paragraph. As you have mentioned one already.
Hey Arnas,
Thanks for reading and you are right, I have omitted these but it was intentional as the post was getting a little long. Part 2 will cover the others and things focus a bit more on syntax etc too. Thanks for the feedback.
Bang on!
Thanks Karan