|
|
|
|
|
by theprotocol
3284 days ago
|
|
Is the main addition here the scoping of the awaited response? Am I missing something else? In ES6+ `try/catch` already offers similar scoping, albeit without the destructuring of the result being a part of the syntax (you declare the response, preferably as a `const`, at the top of the try/catch block). |
|