Asynchronous JavaScript – How Web APIs and Promises Work
May 11, 2022 · 3 min read · Why do we need to use the Asynchronous function? to avoid the block of our main thread, it give bad experience to user if browser is slow if the function performs complex code that consumes good time so, to avoid thread block, we need to use API h...
Join discussion