Question · JavaScript and TypeScript course · Module 1: JavaScript Basics

Falsy Values in JavaScript

Which of the following values is NOT a falsy value in JavaScript?

Answer options

  • 0
  • 'false'
  • null
  • ''
Show the answer

Correct answer:

  • 'false'