//Asynchronous JavaScript
console.log('I am first');
setTimeout(() => {
console.log('I am second')
}, 2000)
setTimeout(() => {
console.log('I am third')
}, 1000)
console.log('I am fourth')
//Expected output:
// I am first
// I am fourth
// I am third
// I am second