JavaScript:fetch with async / await

preview_player
Показать описание
Using fetch with promises and async/await. (supported in all recent browsers)
Рекомендации по теме
Комментарии
Автор

Hi Adam, super Howto !! Ich hätte nur die Frage wie man eine aussenstehende Variable mit dem return der function setzt? also let irgendwas = function(); ? ich bekomm da irgendwie nur ein promise ... wenn überhaupt ... Mach weiter so !!!

mackebrecht
Автор

"ES 6" doesn't support async/await you need at least ES2017

graingert
Автор

I think that line 8 and 9 can be merged in a single one, you can destructure the payload directly! Correct me if I'm wrong, thanks

zakariaabs
Автор

I like your video but... I don't like JS error handling in async await can be a nightmare!

skuarch
join shbcf.ru