SRSyed Rasheduddininsyedrashed.hashnode.dev·May 24, 2021 · 3 min readScripts: Async vs DeferIntroduction In modern websites, scripts are often "heavier" than HTML; their download size is larger and processing time is also longer. A script tag is used to load JavaScript inside a web browser. async and defer are the boolean attributes used a...00
SRSyed Rasheduddininsyedrashed.hashnode.dev·May 24, 2021 · 3 min readClosures in JavaScriptWhat is a Closure? Closures are a fundamental JavaScript concept that every programmer should know about. A closure is the combination of a function bundled together (enclosed) with references to its surrounding state. (lexical environment) In simple...00
SRSyed Rasheduddininsyedrashed.hashnode.dev·May 23, 2021 · 2 min readWhat is Event Loop in JavaScript?Introduction JavaScript Event Loop is one of the most fundamental concepts that every developer must aspire to understand. So lets break it down. JavaScript is a synchronous single-threaded language, i.e., it can execute only one task at a time. So ...01A