非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

Obsolete since 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.

__count__ property used to store the count of enumerable properties on the object, but it has been removed.

句法

obj.__count__
					

范例

{ 1: 1 }.__count__              // 1
[].__count__                    // 0
[1].__count__                   // 1
[1, /* hole */, 2, 3].__count__ // 3
					

规范

Not part of any standard.

浏览器兼容性

Not supported anywhere. Historically supported until Firefox 4.

另请参阅

元数据

  • 最后修改: