DEV Community

Discussion on: Coding Bytes: Part 1 — (Intro &) Data Types

Collapse
 
ytjchan profile image
ytjchan

Beware when using numbers as booleans though. Despite true == 1 returning true, true === 1 returns false.

Collapse
 
waqardm profile image
Waqar Mohammad

Thanks well noted. Will cover it in assignment operators