javascript undefined is false or true?
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.)