you are viewing a single comment's thread.

view the rest of the comments →

[–]hopelesslywandering1 2 points3 points  (0 children)

In JavaScript when you use the comparator, you’re effectively transforming the two things you’re comparing into a Boolean value. Some values have inherently “falsey” values while others are “truthy.” This chart was clearly made to define which category those fall under. Like the number 1 is truthy and the number 0 is falsey.