Question: javascript undefined is true or false?
Answer: undefined is true because undefined implicitly converts to false , and then ! negates it. Collectively, those values (and false ) are called falsy values. (Anything else¹ is called a truthy value.)