CodeNewbie Community

Discussion on: What's the difference between boolean values and truthy and falsy values?

Collapse
anmpog profile image
Anthony Pogliano

Unless my understanding is incorrect (very possible) a Boolean in JavaScript is a primitive value of either true or false, while there are other values that evaluate to true or false when using a comparison operations. Primitive values are like the “building block” values - a string, a number, a Boolean, null, undefined, symbols, and bigints.