ASAjay Sharmainajaysharma.hashnode.dev·Mar 18, 2024 · 6 min readLearn Callbacks / Promises / Async-awaitIn JavaScript, asynchronous methods are crucial for executing tasks without blocking the main execution thread. Here are some common asynchronous methods and techniques used in JavaScript: Callbacks: Traditional way of handling asynchronous code ex...00
ASAjay Sharmainajaysharma.hashnode.dev·Mar 15, 2024 · 3 min readHoisting in Simple WordsIn simple terms, hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase, before the code is actually executed. This means that you can use a variable or c...00