mozilla

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,