Optional - Set format on save and any global prettier options
npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node
// check version | |
node -v || node --version | |
// list locally installed versions of node | |
nvm ls | |
// list remove available versions of node | |
nvm ls-remote | |
// install specific version of node |
console.log('a'); | |
let timmy = setTimeout(function () { | |
console.log('b'); | |
}, 1); | |
let timothy = setTimeout(function () { | |
console.log('c'); | |
}, 10); | |
let timer = setTimeout(function () { | |
console.log('d'); | |
}, 0); |
let num = 0; | |
async function increment() { | |
num += await 2; | |
console.log(num); | |
} | |
increment(); | |
num += 1; | |
console.log(num); | |
/**** | |
* What is the resulting output? |