var promise = new Promise((resolve,reject)=>{
request.post({
url: "https://api.vk.com/method/execute",
qs: {
'code': 'var ans1 = API.account.getProfileInfo(); var ans2 = API.groups.getById({"group_ids": "dev_wh" }); return [ans1,ans2];',
'access_token': TOKEN,
'v': V,
}
}, function(err, response, body) {
resolve(body)
})
})
var body = await promise;
console.log(body);