Cheat Flashcards
1
Q
Interger
A
2
Q
Value , type of value
A
3
Q
Pi
A
4
Q
Operators
A
5
Q
NaN
A
6
Q
Types
A
7
Q
Unicode
A
8
Q
Unary operators
A
typeof
9
Q
Binary operators
A
Take 2 values
10
Q
NaN is not equal to NaN
A
Result of nonsensical computation and therefore not equal to result of any other nonsensical computation
11
Q
Ternary
A
Operating on 3 values
12
Q
undefined / null
A
No meaningful result
13
Q
Expression
A
Fragment of code that produces a result
14
Q
Result of prompt is always string
A
15
Q
Number.isNaN(theNumber)
A
16
Q
Function expression vs function declaration
A
17
Q
Arrow function
A
No parentheses when only one param. No braces if body is single expression
18
Q
Give function parameter default value
A
19
Q
Side effect
A