JavaScript: Syntax Flashcards
1
Q
javascript syntax: variable declaration
A
var identifier
2
Q
javascript syntax: variable assignment
A
identifier = value
3
Q
javascript syntax: array literal
A
identifier = [value, value, value]
4
Q
javascript syntax: array constructor
A
new Array(value, value, value)
5
Q
javascript syntax: array indexing
A
array[index]
6
Q
javascript syntax: array index assignment
A
array[index] = value