javascript-primitive-booleans-undefined-null Flashcards

1
Q

What is a boolean?

A

data type with two possible values: true or false.

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

What is a comparison operator?

A

operators that compare values and return true or false . The operators include: > , < , >= , <= , === , and !==

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

What is the difference between undefined and null?

A

null=no value

undefined= undeclared, intentionally left empty

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