javascript中对象窗口['0']和窗口['1']的含义是什么? [英] what is the meaning of the Object window['0'] and window['1'] in javascript

查看:150
本文介绍了javascript中对象窗口['0']和窗口['1']的含义是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 javaScript 的初学者,我真的很想知道窗口['0'] 的含义。
我猜它可能与html的框架元素有关,但是我怎么也找不到在专业JavaScript for Web Developers 3rd Edition这本书中的答案。

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.

推荐答案

https://developer.mozilla .org / zh-CN / docs / Web / API / Window
窗口[0],窗口[1]等
返回帧中窗口对象的引用。有关更多详细信息,请参阅Window.frames。

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.

这篇关于javascript中对象窗口['0']和窗口['1']的含义是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆