window is not defined

I m just write console.log(window)

Then is have a error : window is not defined 

 

0

The window object is only defined in the browser, and isn't defined in Node.js environment (which uses process instead). And it looks like you are running your code with Node.js

0

请先登录再写评论。