3 ms·
This is certainly something that is doable and crossed my mind, but I did not want to have the await be restricted to functions that conform to the typical retu
by koush 15y ago
This is certainly something that is doable and crossed my mind, but I did not want to have the await be restricted to functions that conform to the typical return arguments. For now at least.
- dbrock 15y agoHow about try await foo = bar(baz) as shorthand for await error, foo = bar(baz) if (error) throw error