A RetroSearch Logo

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

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Glossary/Constructor below:

Constructor - Glossary | MDN

A constructor is a specialized function that generates objects with the same shape and behavior. The constructor initializes this object with some data specific to the object. The concept of a constructor can be applied to most object-oriented programming languages.

In JavaScript, a constructor is usually declared within a class, but it can also be declared as a function. In fact, any function that can be called with the new operator is a constructor.


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