📜  窗口未定义 javascript - 无论代码示例

📅  最后修改于: 2022-03-11 14:58:31.782000             🧑  作者: 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.