运行代码
(Shift+Enter)
HTML教程
奔月教程(runoon.com)
点击按钮,等待 3 秒后弹出 "Hello" 。
点击第二个按钮来阻止弹出函数 myFunction 的执行。 (你必须在 3 秒前点击)
先点我
阻止弹出
运行结果