A

Admin • 833K Points
Coach

Q. Which value is considered falsy in JavaScript?

  • (A) 0
  • (B) 1
  • (C) 'false'
  • (D) []
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

0 is falsy; the others are all truthy values in JavaScript.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.