Lesson 25 of 35 · +120 xp
Promise
Then chain.
Explained simply
Your task
Write: fetch("/api").then(r => r.json());
Click 'Run code' to execute your code in a real sandbox.
Lesson 25 of 35 · +120 xp
Then chain.
Write: fetch("/api").then(r => r.json());
Click 'Run code' to execute your code in a real sandbox.