Promise 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...May 20, 2022 路 3 min readsudhanshusoni.hashnode.dev
Hoisting馃憠 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...May 20, 2022 路 2 min readsudhanshusoni.hashnode.dev
Asynchronocity 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...May 20, 2022 路 3 min readsudhanshusoni.hashnode.dev