Global Objects

  • 版本网址缩略名: Core_JavaScript_1.5_Reference/Global_Objects
  • 版本标题: Global Objects
  • 版本 id: 58466
  • 创建于:
  • 创建者: Cnmahj
  • 是否是当前版本?
  • 评论

修订内容

The main JSRef index uses inclusion to synchronize content from this page. There are tags below to ensure this works well. Please do not make changes to this page without checking the effects on other pages; use 'What links here' on the sidebar to check for pages that include this content

这一章归档了所有的JavaScript 1.5对象,不包含他们的属性和方法。

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.
=== 标准全局对象 ===
==== 标准全局对象 ====
=== LiveConnect ===
==== LiveConnect ====

{{wiki.template('Non-standard_header')}} 下面的全局对象的功能是由LiveConnect提供的,他们不是标准化ECMAScript的一部分。

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.

See also

{{ 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", "ja": "ja/Core_JavaScript_1.5_Reference/Global_Objects", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty" } ) }}

修订版来源

<p>
<span class="comment">The main JSRef index uses inclusion to synchronize content from this page. There are tags below to ensure this works well. Please do not make changes to this page without checking the effects on other pages; use 'What links here' on the sidebar to check for pages that include this content</span>
</p><p>这一章归档了所有的JavaScript 1.5对象,不包含他们的属性和方法。
</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.
<div class="noinclude">
=== 标准全局对象 ===</div>
<div class="includeonly">==== 标准全局对象 ====</div>
<ul><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/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/EvalError">EvalError</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/Math">Math</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/RangeError">RangeError</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/ReferenceError">ReferenceError</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/SyntaxError">SyntaxError</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/TypeError">TypeError</a>
</li><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Objects/URIError">URIError</a>
</li></ul>
<div class="noinclude">
=== <a href="cn/LiveConnect">LiveConnect</a> ===</div>
<div class="includeonly">==== <a href="cn/LiveConnect">LiveConnect</a> ====</div>
<p>{{wiki.template('Non-standard_header')}}
下面的全局对象的功能是由<a href="cn/LiveConnect">LiveConnect</a>提供的,他们不是<a href="cn/Web_Standards">标准化</a>的<a href="cn/ECMAScript">ECMAScript</a>的一部分。
</p>
<ul><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/netscape">netscape</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/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>
<div class="noinclude">
<h3 name="See_also"> See also</h3>
<ul><li><a href="cn/Core_JavaScript_1.5_Reference/Global_Functions">Global Functions</a>
</li></ul>
</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", "ja": "ja/Core_JavaScript_1.5_Reference/Global_Objects", "pl": "pl/Dokumentacja_j\u0119zyka_JavaScript_1.5/Obiekty" } ) }}
恢复到这个版本