Online Forum To Support Coders With Technical Assistance - Read Write Execute

What are the falsy values in Javascript

Ankit Agrawal
Ankit Agrawal
Published on December 21, 2021 · 1 min read

Falsy values are the values that return false.There are six falsy values in JavaScript.

UndefinedA primitive value
NullBlank value
NanNot a number
0/-0The zero and negative zero
“”Empty string
FalseA false keyword
Was this article helpful?
Ankit Agrawal

Ankit Agrawal

Author & Senior Engineer at CodeExecute

Writing practical engineering guides, debugging real-world bottlenecks, and creating free tools for developer productivity.

← Previous Article What is DRY Code method in programming Next Article → Convert object into query string in javascript