Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
12 Cards in this Set
- Front
- Back
For In loop
|
for (var i in myArray) { myArray[i] }
|
|
For Loop
|
for (var i = 0; i < arrayLength; i + + )
|
|
Difference between For In and For Loops
|
If an extension is added to a native object such as array, the "For In" Loop will output it. The "For" loop will not.
|
|
Arithmetic Operators
|
(+, -, *, /, %, + +, --, unary -, unary +)
|
|
Assignment Operators
|
(=, *=, /=, %=, + =, -=, < < =, > > =, > > > =, &=, ^ =, | =)
|
|
Bitwise Operators
|
(&, |, ^, ~, < <, > >, > > >)
|
|
Comparison Operators
|
(==, !=, = = =, != =, >, > =, <, < =)
|
|
Logical Operators
|
(&&, | |, !)
|
|
String Operators
|
(+ and + =)
|
|
Member Operators
|
(object.property and object[" property"])
|
|
Conditional Operator
|
(condition ? ifTrue : ifFalse)
|
|
Eval function
|
Will evaluate a string as javascript code like:eval(“a = 1; b = 2; alert(“ a + b = “ + (a + b))”); /* will display a + b = 3 */
|