You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Promises - A promise is a container that you get immediately for a value that you get eventually. Objects that represent the outcome of an event that may not yet have occurred.
Syntax sugar over promises - can mix and match with promises. Can use .then to handle response from an async func. And can use .catch to catch an error thrown from an async func.
Modern JavaScript
var
and note the different behavior.let/const
= block scope.this
keywordES Modules
as
Debugging
Native iterators
Don't confuse these!
Functional Approaches
Copying Objects and Immutable data Structures
Async Patterns
.then
runs after all promises are settled, regardless of resolved or rejected.async
keyword in front of arg listRegex
Other Patterns
Summary
The text was updated successfully, but these errors were encountered: