zero timeout js code example
Example: zero timeout javascript
setTimeout(() => console.log('timeout log'), 0);
console.log('plain log');
// plain log
// timeout log
setTimeout(() => console.log('timeout log'), 0);
console.log('plain log');
// plain log
// timeout log