RKRavi Kumarinravikumar0403.hashnode.dev·May 12, 2022 · 4 min readWhat is a promise in JavascriptWhat is a promise In Javascript, a promise is a special object used to handle asynchronous operations. It allows us to track the completion of the asynchronous operation. The internal properties of a promise A promise has three internal properties, P...00
RKRavi Kumarinravikumar0403.hashnode.dev·Aug 28, 2021 · 2 min readAdding delays with setTimeout - JavaScriptIn this blog, we will be learning about setTimeout method and how it can be used to add delays in the execution of a certain code. The setTimeout method allows you to execute a piece of code after a certain amount of delay. Let's say, you want to sh...00
RKRavi Kumarinravikumar0403.hashnode.dev·Aug 28, 2021 · 2 min readTernary operator in JavaScriptThis tutorial will teach you how to use the ternary operator to make your code more concise. The ternary operator is also known as the conditional operator. It is the only operator in JavaScript that operates on three operands. It is a cleaner altern...00