await is only valid in async function javascript code example
Example: await is only valid in async function
async function start() {
....
const result = await helper.myfunction('test', 'test');
}
async function start() {
....
const result = await helper.myfunction('test', 'test');
}