Truthy and Falsey Flashcards

1
Q

Why is it important to understand truthy and falsy values?

A

helps with comparisons

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

Why is the typeof null an object?

A

it is abug

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

What is the difference between null and undefined?

A

undefined is a variable declared, but no value has been assigned a value. intentionally or not.
null is an intentional absence of a value.

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