What are Callbacks?
A callback function is a function that is passed to another function so that when the first function is executed, the second one which is passed to the first one will also execute. Normally callback runs after the parent function completes its operation. …
In a Web Development Industry, We all are Using and Building REST APIs in our daily life. Simply, API (Application Programming Interface)means communication between applications. Now the question is What is RESTful API?
In this article, I am going to explain the basic definition of RESTful API.
Let’s say if we are trying to find videos about Elon Musk on Youtube. We open Youtube, type “Elon Musk” into a search field, hit enter, and we can see a list of videos about Elon Musk. A REST API works in a similar way. …
In this article, I will explain Optional Chaining and Nullish Coalescing Operators in detail with examples.
“The Optional Chaining operator (
?.) access values without checking if the parent object exists. Instead of returning an error, it will return null or undefined”
Let’s understand with an example. Here, we have two objects studentA and studentB and wrapped in students Array.