3 ms·
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
by pgkl 9y 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.