> > > I may warm up to the extra complexity more easily if somebody could > present at least some compelling use cases. :) > > Mark's mention of yield got me thinking about await expressions. Hopefully I'm using this correctly:
// stat is null or a Stat object const stat = do { try { await FS.stat(path) } catch (x) { null } } Does that work as a use case for block semantics?
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss