Is window.document ever null or undefined?

后端 未结 4 802
梦谈多话
梦谈多话 2020-12-06 02:56

I\'ve been doing some research on the window.document object in order to make sure one of my JavaScript solutions is reliable. Is there ever a case when the window.document

4条回答
  •  半阙折子戏
    2020-12-06 03:08

    Because your javascript code must be written in a html document,so your code coudn't be executed out of document,in other word,no document,no javascript.

提交回复
热议问题