[book] – personal notes from Eloquent Javascript (second edition)
My personal tips & takeaways from this book (something I didn't know before i read it).
special numbers
infinity
,-infinity
and NaN
.
The minus operator can be both binary
and unary
operators.
> console.log(typeof 4.5)
number
> console.log("Zoro" < "Luffy")
false # more or less alphabetical
> console.log(NaN == NaN)
false # Not a number nosensical computation doesn't equal other NaN
and
,or
& not