Introduction
Course: Asynchronous Javascript, Callbacks and more - chapter 1
Shoutouts
Section titled “Shoutouts”Web based wallets ($50 each)
https://x.com/kairveee/status/1822263287079174271

https://x.com/DweetParikh/status/1822249456664019332

- Reports Platform ($100 for creator) - https://report-100xdevs.vercel.app/
Goal of todays class -
Section titled “Goal of todays class -”- I/O tasks
- Callbacks
- Functional arguments
- Async vs Sync code
- Event loops, callback queues, JS
Goal of tomorrows class
Section titled “Goal of tomorrows class”- Async await, Promises
- Practising async JS
**Hopefully, by the end of the class, you are able to understand the following code - **
Functional arguments
function sum(a, b) { return a + b;}
function multiply(a, b) { return a * b;}
function subtract(a, b) { return a - b;}
function divide(a, b) { return a / b;}
function doOperation(a, b, op) { return op(a, b)}
console.log(doOperation(1, 2, sum))Callbacks
const fs = require("fs");
fs.readFile("a.txt", "utf-8", function (err, contents) { console.log(contents);});