31
GeaRSiX
6y

Came across a fun one today :
Some JS dev using 'false' and 'true' instead of false and true. 😫

Comments
  • 4
    Instead of 0 and 1
  • 6
    Instead of !varname and varname
  • 2
    So, I recently had to use that for MQTT communications. Turns out there are not integer or boolean values in MQTT, just strings. Made if statements a pain.
Add Comment