async function get_fun(){
let get = await fun.get()();
return get
}
let set;
(async () => {
set = await get_fun();
})()
console.log(set['vv'])
set = (async () => await get_fun())();
console.log(set)
Promise
__proto__: Promise
[[PromiseState]]: "fulfilled"
[[PromiseResult]]: Object
vv: "ss"
__proto__: Object
async function get_fun(){
return {x: 89};
}
let set;
(async () => {
set = await get_fun();
alert(set.x);
})();