APAniket Pariharinaniketparihar.hashnode.dev路Mar 3, 2022 路 8 min readPromises in JSWe wrote Asynchronous JS using Callbacks extensively a while back. But things changed in 2015 when ES6 brought with it a Javascript Promise Object. Since then most of the Developers now prefer Promises over Callbacks. What caused this shift? To unde...01D
APAniket Pariharinaniketparihar.hashnode.dev路Jan 17, 2022 路 4 min readVar, Let, Const and TDZVar, Let and Const Before es6 only var was used to declare variables in JS, but with es6 came let and const. There were many problems related to var and thus it was necessary to have a new way of variable declaration. Var var can be scoped globally ...01J
APAniket Pariharinaniketparihar.hashnode.dev路Jan 16, 2022 路 1 min readIs Javascript Compiled or Interpreted?A piece of code tells the computer what to do when we run/execute the code. It generally has to be converted to machine-readable code to do so. This can be done in two ways, Compilation and Interpretation. When this conversion happens from top to bo...00
APAniket Pariharinaniketparihar.hashnode.dev路Jan 16, 2022 路 2 min readCompilation VS TranspilationWhat is transpilation and how is it different from the compilation? Compiling is a general term for taking source code written in one language and transforming it into another language. This transformation happens between languages of two different ...00
APAniket Pariharinaniketparihar.hashnode.dev路Jan 12, 2022 路 5 min readWhat exactly is Event Loop!You might have heard that Javascript is a synchronous single-threaded language, but it is also a combination of Synchronous and Asynchronous events. What does this mean exactly? Let's start with the basics of how code gets executed synchronously insi...0-1