ES6 Promises | Resolve | Reject | Promise API | Promise Methods | then | catch | finally | ALX SE

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • This a Peer Learning Discussion where we treated promises in ECMAScript 6, we covered various headings under ES6, like:
    ES6 PROMISES CURRICULUM
    Creating a Promise (new Promise ((resolve, reject) )
    Consuming a Promise
    The then() method
    The catch() method
    The finally() method
    Promise API (Static Methods of Promise)
    Promise.all() // object iterable
    Promise.allSettled()
    Promise.race() // first, either resolve or reject
    Promise.any() // first resolve, if no resolve, returns aggregate of reject
    Promise.resolve(value) // create resolved promise with value
    Promise.reject(value) // create rejected promise with error
    Async/Await
    Please do well to support us, Subscribe to our channel, Like our videos and do well to drop a comment.
    you can also follow us on our Telegram Channel for latest updates and other useful tips and links to premium materials for free.
    t.me/beneelohi...

Комментарии • 6