Lesson 57: Mastering JavaScript Property getters and setters with challenges!✅ What Are Property Accessors? Accessors are virtual properties in JavaScript that look like normal properties, but are backed by functions that run when you get or set them. They let you: Add computed logic when reading a property. Control and val...6 min read·javascript-day-1.hashnode.devJun 17, 2025
Lesson 56: Mastering JavaScript Property flags and descriptors with challenges!🧩 What Are Property Descriptors? In JavaScript, every property in an object has attributes (a.k.a. property flags): FlagMeaning writableCan the value be changed with assignment (=)? enumerableWill it appear in for...in, Object.keys(), etc.? ...6 min read·javascript-day-1.hashnode.devJun 13, 2025
Lesson 55: Mastering JavaScript Arrow functions with this keyword✅ What are Arrow Functions? Arrow functions (() => {}) are a concise syntax for writing functions in JavaScript introduced in ES6. However, their behavior is not just syntactic — they differ from regular functions in several critical ways: No this b...6 min read·javascript-day-1.hashnode.devJun 13, 2025
Lesson 54: Mastering JavaScript Function binding with challenges!🔧 What Is Function Binding? In JavaScript, functions are first-class objects and not automatically bound to their object. When you pass a method around (e.g. to setTimeout), its connection to its object can be lost — this becomes undefined (strict m...5 min read·javascript-day-1.hashnode.devJun 12, 2025
Lesson 53: Mastering JavaScript setTimeout and setInterval with challenges!setTimeout(fn, delay) → Runs fn once after delay milliseconds. setInterval(fn, delay) → Runs fn repeatedly, every delay milliseconds. Both are asynchronous and macrotask-based, meaning they are queued after the current synchronous code and all mic...5 min read·javascript-day-1.hashnode.devJun 12, 2025