mozilla
您的搜尋結果

    Global Objects

    Summary

    This chapter documents all the JavaScript 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 (but only if ECMAScript 5 strict mode is not used! Otherwise it returns undefined). The global object itself can be accessed by this in the global scope. In fact, the global scope consists of the properties of the global object (including inherited properties, if any).

    This page also includes the standard built-in constructors that are properties of the Intl object – these are not objects in the global scope, but they are available to all JavaScript programs.

    Standard global objects (by category)

    General-purpose constructors

    Typed array constructors

    Internationalization constructors

    Error constructors

    Non-constructor functions

    Other

    Standard global objects (alphabetically)

    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 JavaScript technologies overview.

     

    Document Tags and Contributors

    Contributors to this page: Sheppy, teoli
    最近更新: teoli,