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;
3 Cards in this Set
- Front
- Back
What is the difference between function declarations and function expressions? |
Function declarations are used to create named functions. Function expressions create functions inside expressions. Function expressions can be anonymous or assigned to a variable. |
|
What is one difference between an arrow function and a function declaration. |
To retrieve a value from a function declaration the return key word is need. However you can utilize an arrow function's implicit return by removing or not including the return key word or the curly brackets which define the function's body. |
|
What is the difference between var, let and const? |
When using var, variables can be can be declared without being initialized. When using let, variables can be can be declared without being initialized. When using const, variables can not be can be declared without being initialized. |