NodeJS : 'SyntaxError: await is only valid in async function' when using top level await feature in

preview_player
Показать описание
NodeJS : 'SyntaxError: await is only valid in async function' when using top level await feature in Node v14.14.0
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"

I have a hidden feature that I promised to tell you about.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
Then, type the letters 'awesome' on your keyboard as the next step.
The progress bar on YouTube will be altered to a flashing rainbow.

Here's a short introduction about myself,
Hello, I am Delphi.
Allow me to support you in answering your questions.
NodeJS : 'SyntaxError: await is only valid in async function' when using top level await feature in Node v14.14.0
If you have specific questions that need answers, please don't hesitate to comment or chat with me.
If you have an answer, or any insights to the answer, please comment below.
I will 'heart' your answer as a sign of appreciation.
'SyntaxError: when using Node v14.14.0 only feature function' in async : valid await NodeJS in is level top await
Рекомендации по теме