What do I need for the async/await pattern to work in a Node project?
Like
async function fetch() {
…
}
What do I need for the async/await pattern to work in a Node project?
Like
async function fetch() {
…
}
nvm install 7
nvm alias default 7
https://babeljs.io/ is a tool that transpiles es7 code to es5 code that works on older node.