Please enable JavaScript.
Coggle requires JavaScript to display documents.
JavaScript - Coggle Diagram
JavaScript
Syntax
-
Functions
-
-
Arrow functions
-
-
two or more parameters
const functionName = (paramOne, paramTwo) => {};
-
-
-
-
-
Errors and Debugging
3 common error types
SyntaxError
-
brackets, braces, parentheses
-
-
-
-
-
Iterators
-
-
-
.reduce()
returns a single value after iterating through the elements of an array, thereby reducing the array.
const reducer = (accumulator, currentValue) => accumulator + currentValue;
-
Async JS
-
Promises
Intro
allows the computer to “move on” to other tasks while waiting for the asynchronous operation to complete
-
-
-
-