Let's say you wanted to call a function using await (let's call this function get_usd2inr) by calling it as in like - await get_usd2inr();, you may get this error:
Uncaught SyntaxError: await is only valid in async functions and the top level bodies...