Constructor Async JavaScript
function asyncRequest(id){
return new Promise(/*.....*/);
}
class MyClass {
constructor(async) {
(async function() {
this.city = await asyncRequest(async);
})();
}
}
RedGuy12