What is the output of `Boolean(”)`?

JavaScript Associate Easy

JavaScript Associate — Easy

What is the output of `Boolean(”)`?

Key points

  • Empty strings are falsy values in JavaScript.
  • The Boolean function converts the input to a boolean value.
  • Falsy values evaluate to false in conditional statements.

Ready to go further?

Related questions