Hacker News new | ask | show | jobs
by pgkl 3144 days ago
res => res.json() returns the result of res.json()

That function is thenable so following it .then is called and the result or error is passed to the first or second function respectively.