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.