A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/javascript/Object below:

Object · WebPlatform Docs

Object Summary

Provides functionality common to all JavaScript objects.

Syntax
obj  = new Object( [ value ] )
obj
Required. The variable name to which the Object object is assigned.
value
Optional. Any one of the JavaScript primitive data types (Number, Boolean, or String). If value is an object, the object is returned unmodified. If value is null , undefined , or not supplied, an object with no content is created.
Remarks

The Object object is contained in all other JavaScript objects; all of its methods and properties are available in all other objects. The methods can be redefined in user-defined objects, and are called by JavaScript at appropriate times. The toString method is an example of a frequently redefined Object method.

In this language reference, the description of each Object method includes both default and object-specific implementation information for the intrinsic JavaScript objects.

Properties

The following table lists properties of the Object Object.

Functions

The following table lists functions of the Object Object.

Methods

The following table lists methods of the Object Object.

Method Description hasOwnProperty method Returns a Boolean value that indicates whether an object has a property with the specified name. isPrototypeOf method Returns a Boolean value that indicates whether an object exists in another object’s prototype hierarchy. propertyIsEnumerable method Returns a Boolean value that indicates whether a specified property is part of an object and whether it is enumerable. toLocaleString method Returns an object converted to a string based on the current locale. toString method Returns a string representation of an object. valueOf method Returns the primitive value of the specified object. See also Other articles Attributions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4