Chapter 3: Functions Flashcards
1
Q
Function declaration syntax (3)
A
let/const name = function(arguments){
block
}
OR
function name(arguments) {
block
}
OR
let/const name = (arguments) => {
block
}
2
Q
Recursion (pro and con)
A
A function that refers to itself (more intuitive, less performant)