https://github.com/noahspott/intro-node
https://github.com/noahspott/intro-node
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/noahspott/intro-node
- Owner: noahspott
- Created: 2024-11-13T13:29:05.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-11-20T14:27:55.000Z (7 months ago)
- Last Synced: 2025-02-14T17:40:45.019Z (4 months ago)
- Language: JavaScript
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Introduction to Node.js, v3
## Course Notes
### Async Code
#### What are 3 reasons why some code would be asynchronous (90% of the time)?
1. Doing something over the network
2. Using some kind of timing function (setTimeout setInterval)
3. Interacting with storage#### What is the JS solution to callback hell?
Promises!
#### What does await do?
Pauses the execution of the awaited function until a Promise is settled.