True === False?

How does true === false? What are we testing? The strings? I thought all strings had truthy values no matter the content as long as they weren’t empty.

Oh nevermind… it always evaluates to false, so it just demonstrates that do… while loops will run at least once even if they evaluate to false.

just for fun:

on a more serious note, it could also simple be while (false).

3 Likes