01 / 05
Yes and no are values too
Just like text and numbers, true and false are values you can work with. true means "yes, it holds", false means "no, it does not".
Together they are called booleans. No quotes around them, so they are not the same as the string "true".
console.log(true);console.log(false);Result
true false