Lesson 36: Mastering JavaScript methods of primitives
In JavaScript, primitives (like string, number, boolean, symbol, bigint) are not objects. But you can still call methods on them, like:
let str = "hello";
console.log(str.toUpperCase()); // "HELLO"
🔍 What’s happening behind the scenes?
When you acc...
javascript-day-1.hashnode.dev5 min read