It allows the use of await Keyword inside the functions with async keyword. Using await in any other way will cause a syntax error. The use of the async keyword happens at the beginning of the function declaration. In the case of arrow function, async is put after the “=” equal sign and before the “{}” parentheses.