Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

JavaScript FUNCTION EXPRESSIONS in 7 minutes! 🐣

48.7K views on YouTube

// function expressions = a way to define functions as
// values or variables

// 1. Callbacks in asynchronous operations
// 2. Higher-Order Functions
// 3. Closures
// 4. Event Listeners

const hello = function(){
console.log(“Hello”);
}

hello();

setTimeout(function() {
console.log(“Goodbye”);
}, 3000);