JavascriptHow `this` behaves in JavaScript🔹 What is this ? In JavaScript, this refers to the execution context — or how a function is…Daniel NguyenApril 24, 2025 1 min
JavascriptImplement this BinaryTreeGiven the BinaryTree class with below structure. Each Node will have a left Node, a right Node and…Daniel NguyenApril 13, 2025 1 min
JavascriptBinary Search in JavaScriptBinary Search is one of those classic algorithms that every developer should understand — not just…Daniel NguyenApril 11, 2025 1 min
JavascriptDemystifying the JavaScript Event Loop: Microtasks vs Macrotasks and Async/AwaitJavaScript is single-threaded, but it’s designed to handle asynchronous operations with grace. At…Daniel NguyenApril 11, 2025 1 min
Javascript🔒 Understanding JavaScript Closures🔐 What Are Closures in JavaScript? A closure is created when a function “remembers” the…Daniel NguyenApril 11, 2025 1 min
JavascriptJavaScript Hoisting Explained: How It Affects Variables and FunctionsHoisting is one of those JavaScript concepts that can cause surprising behavior if you're not aware…Daniel NguyenApril 11, 2025 1 min