📜  窗口未定义 javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:32.410000             🧑  作者: Mango

代码示例2
'window' is only defined in the context of web browsers.
You must run your code by linking it in an HTML document that is running
in your browser to have access to 'window' and other DOM features.