Truthy & Falsy Values Flashcards

1
Q

What are falsey values in JS?

A

These are values that aren’t false but return false when converted into a boolean.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the five falsey values in JS?

A
  • 0
  • ” “
  • undefined
  • null
  • NaN
How well did you know this?
1
Not at all
2
3
4
5
Perfectly