Thomas Burette@thomasburette.com23 Feb 2025Explanation: Boolean() is based on falsey. 0 is falsey, "0" is not. == converts a string to a number when the other operand is a number : "0" => 0