News for hackers. Stuff that matters.
Re:JavaScript async/await implemented in V8 by tomelders on Tuesday May 17, 2016 @05:12AM (#11712178)
Someone correct me if I'm wrong here, this is just my hunch - but according to the fetch spec, res.json returns a promise, which are async. I'm assuming so you have the chance to handle errors as a result of malformed JSON.
Re:JavaScript async/await implemented in V8 by thomasahle on Tuesday May 17, 2016 @07:14AM (#11712597)
Promises are used for catching errors?
Re:JavaScript async/await implemented in V8 by onestone on Tuesday May 17, 2016 @07:48AM (#11712766)
Yes.