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;
4 Cards in this Set
- Front
- Back
recursion |
programming concept. calling a function on itself. computing factorial is a perfect example. The code block inside a recursive function doesn't look like it makes sense, but the change occurs in the final return statement when you're changing the value of the original arguments to satisfy the "base" case (the case where the function terminates, similar to stopping an endless loop). |
|
closure |
The connection between a function's scope and the scope of it's parent is called a closure. When you have a function, it is intrinsically tied to it's parent. |
|
document.querySelector |
Don't forget to include the # or . when selection ID's and classses |
|
Lexical scope vs. In-memory scope |
Lexical scope is the scope the developer created when writing the code/functions. In-memory scope is what the browser creates when running the code. |