SOURCE

setTimeout(() => alert("timeout"));

Promise.resolve()
  .then(() => alert("promise"));

alert("code");
console 命令行工具 X clear

                    
>
console