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

Learn JavaScript STRICT EQUALITY in 3 minutes! 🟰

42.5K views on YouTube

// = assignment operator
// == comparison operator (compare if values are equal)
// === strict equality operator (compare if values & datatype are equal)
// != inequality operator
// !== strict inequality operator

const PI = 3.14;

if(PI === “3.14”){
console.log(“That is NOT Pi”);
}
else{
console.log(“That is Pi”);
}