点击运行
JavaScript 函数
全局函数自动成为 window 方法。调用 myFunction() 与调用 window.myFunction() 相同。
运行结果