SyntaxFix
Write A Post
Hire A Developer
Questions
There are some good answer above and here is the ES6 Arrow function version
var something = async() => { let result = await functionThatReturnsPromiseA(); return result + 1; }