Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Object.prototype.__parent__

已废弃 Gecko 2 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

概述

指向一个对象的上下文.

Property of Object
Implemented in JavaScript ?
ECMAScript Edition -

语法

obj.__parent__

描述

对于最顶层对象来说,这个属性的值就是全局对象window.

相关链接

文档标签和贡献者

 此页面的贡献者: teoli, ziyunfei
 最后编辑者: teoli,