what is the meaning of the Object window['0'] and window['1'] in javascript

[亡魂溺海] 提交于 2019-12-20 03:46:10

问题


I'am a beginners of javaScript,and i really want to know what does the Window['0'] means. I guess it may be connected with frame element of html,but how and i can not find answer in the book Professional JavaScript for Web Developers 3rd Edition.


回答1:


https://developer.mozilla.org/en-US/docs/Web/API/Window window[0], window[1], etc. Returns a reference to the window object in the frames. See Window.frames for more details.



来源:https://stackoverflow.com/questions/38998963/what-is-the-meaning-of-the-object-window0-and-window1-in-javascript

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!