javascript-primitive-booleans-undefined-null Flashcards
1
Q
What is a boolean?
A
data type with two possible values: true or false.
2
Q
What is a comparison operator?
A
operators that compare values and return true or false . The operators include: > , < , >= , <= , === , and !==
3
Q
What is the difference between undefined and null?
A
null=no value
undefined= undeclared, intentionally left empty