SSSudhanshu Soniinsudhanshusoni.hashnode.dev路May 20, 2022 路 3 min readPromise in JSEarlier before promise was introduced in JS asynchronous operations were handled using callback functions. Promises are special objects in JS which are used to represent the state of an asynchronous operation. Promises have three states: Pending: Th...00
SSSudhanshu Soniinsudhanshusoni.hashnode.dev路May 20, 2022 路 2 min readHoisting馃憠 Hoisting is the process in which interpreter moves all the declaration to the top of the scope before execution. This means that we can access functions, variables before they have been declared in the source code. In JavaScript Variable declratti...00
SSSudhanshu Soniinsudhanshusoni.hashnode.dev路May 20, 2022 路 3 min readAsynchronocity in JSYou might have heard JS is asynchronous, non-blocking, single threaded language. Well that is not entirely true, in reality, core Js is synchronous blocking single threaded language. 馃憠 Synchronous means that the lines of code will be executed in a s...00