- Date:3/05/2022
- Day:Tuesday
Today, I started at about 10:45 am as I was in progress to complete the java script course so, today I started with rest over part firstly I started with Channing promises as we have a sequence of asynchronous tasks to be performed one after another for instance, loading scripts. How can we code it well? Promises provide a couple of recipes to do that. Sometimes, you have multiple asynchronous tasks that you want to execute in sequence. In addition, you need to pass the result of the previous step to the next one. after this I started with handling rejected promises The Promise.reject() method returns a Promise object that is rejected with a given reason.When we invoke a function that returns a promise, we chain the then() method of the promise to run a function when the promise resolves. after this I switched towards my project and did some necessary changes with it and I a left over with little changes to make this project working.so, this way my dad ended up and I got to learn many new things.
Top comments (0)