Playlist MyTV untuk smart TV berserta intisari rancangan bermula RM4.99 sebulan. Selanjutnya →

Simplest JS promise tutorial using await / async

9B5E99A5-1142-492D-A96B-D3B366B21C03.jpeg

Rabu, 24 April 2024, 4:30 pm0

I often forgot how to use output of a function that uses Promise. Which callback to use? .then() / .catch() / .finally() / .all() ?

So here’s the easiest way to use it & remember.

Photos from:

Komentar (0):

FB: https://www.facebook.com/100810608155424/posts/1104943984005846/

Tulis komen: