setTimeout(() => console.log('timeout log'), 0); console.log('plain log'); // plain log // timeout log