function test() {
    return new Promise(function(resolve, reject) {
        resolve("ok")
    });
}
// it's not marked as async, just returning a promise
it's not marked as async, just returning a promise
it ' s not marked as async just returning a promise
function test() {
    return new Promise(function(resolve, reject) {
        resolve("ok")
    });
}
function test ( ) { return new Promise ( function ( resolve , reject ) { resolve ( "ok" ) } ) ; }
it's not marked as async, just returning a promise
it ' s not marked as async just returning a promise