Lesson 24 of 35 · +130 xp
Async Function
Async / await.
Explained simply
Your task
Write: async function load() { return await fetch('/api'); }
Click 'Run code' to execute your code in a real sandbox.
Lesson 24 of 35 · +130 xp
Async / await.
Write: async function load() { return await fetch('/api'); }
Click 'Run code' to execute your code in a real sandbox.