A RetroSearch Logo

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

Search Query:

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

new · WebPlatform Docs

new Summary

Creates a new object.

Syntax
new constructor ([ arguments ])
constructor
Required. The constructor of the object. The parentheses can be omitted if the constructor takes no arguments.
arguments
Optional. Any arguments to be passed to the new object’s constructor.
Examples

These are examples of valid uses of the new operator.

my_object = new Object;
my_array = new Array();
my_date = new Date("Jan 5 1996");
Remarks

The new operator performs the following tasks:

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