Execute the code asynchronously
let count = 0;
function increment() {
count = count + 1;
}
increment();
setTimeout(() => {
console.log(count);
}, 1000);
console.log(count);
Javascript
Console