Global Objects

  • 版本网址缩略名: Core_JavaScript_1.5_Reference/Global_Objects
  • 版本标题: Global Objects
  • 版本 id: 58463
  • 创建于:
  • 创建者: Mickeyboy
  • 是否是当前版本?
  • 评论 New page: <div class="breadcrumbs">[[首页]] > [[Core JavaScript 1.5 Reference|JavaScript 1.5 核心参考]] >[[Core JavaScript 1.5 Reference:Global Objects|全局对象]]</div> This chapter docum...

修订内容

This chapter documents all the JavaScript 1.5 objects, along with their methods and properties.

The term "global objects" here is not to be confused with the global object. Here, global objects refer to objects in the global scope. The global object itself can be accessed by this in the global scope.

Other objects in the global scope are either created by the user script or provided by the host application. The host objects available in Gecko-based browsers are documented in the Gecko DOM Reference.

For more information about the distinction between the DOM and core JavaScript, see The DOM and JavaScript article.


{{ wiki.languages( { "en": "en/Core_JavaScript_1.5_Reference/Global_Objects", "es": "es/Referencia_de_JavaScript_1.5/Objetos_globales", "fr": "fr/R\u00e9f\u00e9rence_de_JavaScript_1.5_Core/Objets_globaux", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty" } ) }}

修订版来源

<div class="breadcrumbs"><a href="cn">首页</a> &gt; <a href="cn/Core_JavaScript_1.5_Reference">JavaScript 1.5 核心参考</a> &gt;<a href="cn/Core_JavaScript_1.5_Reference/Global_Objects">全局对象</a></div>
<p>This chapter documents all the JavaScript 1.5 objects, along with their methods and properties.
</p>
<div class="onlyinclude">The term "global objects" here is not to be confused with the <i>global object</i>. Here, global objects refer to <i>objects in the global scope</i>. The global object itself can be accessed by <a href="cn/Core_JavaScript_1.5_Reference/Operators/Special_Operators/this_Operator"><code>this</code></a> in the global scope.
<ul><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">Boolean</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Date">Date</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Error">Error</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Function">Function</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/java">java</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/JavaArray">JavaArray</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/JavaClass">JavaClass</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/JavaObject">JavaObject</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/JavaPackage">JavaPackage</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Math">Math</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/netscape">netscape</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Number">Number</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Object">Object</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/Packages">Packages</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/RegExp">RegExp</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/String">String</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/sun">sun</a>
</li></ul>
<p>Other objects in the global scope are either <a href="cn/Core_JavaScript_1.5_Guide/Working_with_Objects#Creating_New_Objects"> created by the user script</a> or provided by the host application. The host objects available in <a href="cn/Gecko">Gecko</a>-based browsers are documented in the <a href="cn/Gecko_DOM_Reference">Gecko DOM Reference</a>.
</p>
For more information about the distinction between the <a href="cn/DOM">DOM</a> and core <a href="cn/JavaScript">JavaScript</a>, see <a href="cn/The_DOM_and_JavaScript">The DOM and JavaScript</a> article.</div>
<p><br>
</p>
<div class="noinclude">
</div>
{{ wiki.languages( { "en": "en/Core_JavaScript_1.5_Reference/Global_Objects", "es": "es/Referencia_de_JavaScript_1.5/Objetos_globales", "fr": "fr/R\u00e9f\u00e9rence_de_JavaScript_1.5_Core/Objets_globaux", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty" } ) }}
恢复到这个版本