Articles tagged: Constructor
Found 104 documents
- Learn/JavaScript/Objects/Object-oriented_JS This article has provided a simplified view of object-oriented theory — this isn't the whole ...
- Learn/JavaScript/Objects/Object_prototypes This article has covered JavaScript object prototypes, including how prototype object chains ...
- Web/API/AmbientLightSensor/AmbientLightSensor The AmbinentLightSensor() constructor creates a new AmbientLightSensor object.
- Web/API/AmbientLightSensorReading/AmbientLightSensorReading The AmbientLightSensorReading() constructor creates a new AmbientLightSensorReading object.
- Web/API/Animation/Animation The Animation() constructor of the Web Animations API returns a new Animation object instance.
- Web/API/AnimationEvent/AnimationEvent The AnimationEvent() constructor returns a newly created AnimationEvent, representing an event ...
- Web/API/AnimationPlaybackEvent/AnimationPlaybackEvent The AnimationPlaybackEvent() constructor of the Web Animations API returns a new ...
- Web/API/Blob/Blob The Blob() constructor returns a new Blob object. The content of the blob consists of the ...
- Web/API/BlobEvent/BlobEvent The BlobEvent() constructor returns a newly created BlobEvent object with an associated Blob.
- Web/API/BroadcastChannel/BroadcastChannel The BroadcastChannel() constructor creates a new BroadcastChannel and connects it to the ...
- Web/API/ClipboardEvent/ClipboardEvent The ClipboardEvent() constructor returns a newly created ClipboardEvent, representing an event ...
- Web/API/CloseEvent/CloseEvent The CloseEvent() constructor creates a new CloseEvent.
- Web/API/Comment/Comment The Comment() constructor returns a newly created Comment object with the optional DOMString ...
- Web/API/CustomEvent/CustomEvent The CustomEvent() constructor creates a new CustomEvent.
- Web/API/DocumentFragment/DocumentFragment The DocumentFragment() constructor returns an empty newly created DocumentFragment object.
- Web/API/DocumentTimeline/DocumentTimeline The DocumentTimeline() constructor of the Web Animations API creates a new instance of the ...
- Web/API/DOMException/DOMException The DOMException() constructor returns a DOMException object with a specified message and name.
- Web/API/DOMPoint/DOMPoint The DOMPoint() constructor creates a new DOMPoint object.
- Web/API/DOMRect/DOMRect The DOMRect() constructor creates a new DOMRect object.
- Web/API/DragEvent/DragEvent This constructor is used to create a synthetic DragEvent object.
- Web/API/Event/Event The Event() constructor creates a new Event.
- Web/API/EventSource/EventSource The EventSource () constructor returns a newly-created EventSource, which represents a remote ...
- Web/API/ExtendableEvent/ExtendableEvent The ExtendableEvent() constructor creates a new ExtendableEvent object.
- Web/API/ExtendableMessageEvent/ExtendableMessageEvent The Extendable MessageEvent() constructor creates a new ExtendableMessageEvent object instance.
- Web/API/FederatedCredential/FederatedCredential The FederatedCredential constructor creates a new FederatedCredential object. In supporting ...
- Web/API/FetchEvent/FetchEvent The FetchEvent() constructor creates a new FetchEvent object.
- Web/API/FocusEvent/FocusEvent The FocusEvent() constructor returns a newly created FocusEvent object with an optional ...
- Web/API/FormData/FormData The FormData() constructor creates a new FormData object.
- Web/API/Headers/Headers The Headers() constructor creates a new Headers object.
- Web/API/HTMLImageElement/Image Accepts two optional parameters: Image([unsigned long width, unsigned long height ])
- Web/API/HTMLOptionElement/Option Constructor for creating an HTMLOptionElement. The Option constructor is from the very early ...
- Web/API/ImageData/ImageData The ImageData() constructor returns a newly instantiated ImageData object build from the typed ...
- Web/API/InputEvent/InputEvent The InputEvent() constructor creates a new InputEvent.
- Web/API/InstallEvent/InstallEvent The InstallEvent() constructor creates a new InstallEvent object.
- Web/API/IntersectionObserver/IntersectionObserver The IntersectionObserver() constructor creates a new IntersectionObserver object.
- Web/API/KeyboardEvent/KeyboardEvent The KeyboardEvent() constructor creates a new KeyboardEvent.
- Web/API/KeyframeEffect/KeyframeEffect The KeyframeEffect() constructor of the Web Animations API returns a new KeyframeEffect object ...
- Web/API/KeyframeEffectReadOnly/KeyframeEffectReadOnly The KeyframeEffectReadOnly() constructor of the Web Animations API returns a new ...
- Web/API/MediaRecorder/MediaRecorder The MediaRecorder() constructor creates a new MediaRecorder object.
- Web/API/MediaSource/MediaSource The MediaSource() constructor of the MediaSource interface constructs and returns a new ...
- Web/API/MediaStreamEvent/MediaStreamEvent The MediaStreamEvent() constructor creates a new MediaStreamEvent.
- Web/API/MediaStreamTrackEvent/MediaStreamTrackEvent The MediaStreamTrackEvent() constructor returns a newly created MediaStreamTrackEvent object, ...
- Web/API/MessageChannel/MessageChannel The MessageChannel() constructor of the MessageChannel interface returns a new MessageChannel ...
- Web/API/MouseEvent/MouseEvent The MouseEvent() constructor creates a new MouseEvent.
- Web/API/notification/Notification The Notification() constructor creates a new Notification object instance.
- Web/API/NotificationEvent/NotificationEvent The NotificationEvent() constructor creates a new NotificationEvent object.
- Web/API/OffscreenCanvas/OffscreenCanvas The OffscreenCanvas() constructor returns a newly instantiated OffscreenCanvas object.
- Web/API/PasswordCredential/PasswordCredential The PasswordCredential constructor creates a new PasswordCredential object. In supporting ...
- Web/API/Path2D/Path2D The Path2D() constructor returns a newly instantiated Path2D object, optionally with another ...
- Web/API/PaymentRequest/PaymentRequest The PaymentRequest() constructor creates a new PaymentRequest object.
- Web/API/PerformanceObserver/PerformanceObserver The PerformanceObserver() constructor creates a new PerformanceObserver object with the given ...
- Web/API/PointerEvent/PointerEvent The PointerEvent() constructor creates a new synthetic and untrusted PointerEvent.
- Web/API/PresentationConnectionAvailableEvent/PresentationConnectionAvailableEvent The PresentationConnectionAvailableInit() constructor creates a new ...
- Web/API/ProgressEvent/ProgressEvent The ProgressEvent() constructor returns a newly created ProgressEvent, representing the current ...
- Web/API/PromiseRejectionEvent/PromiseRejectionEvent The PromiseRejectionEvent() constructor returns a newly created PromiseRejectionEvent, which ...
- Web/API/PushEvent/PushEvent The PushEvent() constructor creates a new PushEvent object. Note that the this constructor is ...
- Web/API/Range/Range The Range() constructor returns a newly created Range object whose start and end is the global ...
- Web/API/Request/Request The Request() constructor creates a new Request object.
- Web/API/Response/Response The Response() constructor creates a new Response object.
- Web/API/RTCDataChannelEvent/RTCDataChannelEvent The RTCDataChannelEvent() constructor creates a new RTCDataChannelEvent.
- Web/API/RTCPeerConnection/RTCPeerConnection The RTCPeerConnection() constructor returns a newly-created RTCPeerConnection, which represents ...
- Web/API/RTCPeerConnectionIceEvent/RTCPeerConnectionIceEvent The RTCPeerConnectionIceEvent() constructor creates a new RTCPeerConnectionIceEvent.
- Web/API/RTCSessionDescription/RTCSessionDescription The RTCSessionDescription() constructor creates a new RTCSessionDescription.
- Web/API/ServiceWorkerMessageEvent/ServiceWorkerMessageEvent The ServiceWorkerMessageEvent() constructor creates a new ServiceWorkerMessageEvent object instance.
- Web/API/SharedKeyframeList/SharedKeyframeList The SharedKeyframeList() constructor of the SharedKeyframeList interface creates a new ...
- Web/API/SharedWorker/SharedWorker The SharedWorker() constructor creates a SharedWorker object that executes the script at the ...
- Web/API/SpeechGrammar/SpeechGrammar The SpeechGrammar constructor of the SpeechGrammar interface creates a new SpeechGrammar object ...
- Web/API/SpeechGrammarList/SpeechGrammarList The SpeechGrammarList() constructor creates a new SpeechGrammarList object instance.
- Web/API/SpeechRecognition/SpeechRecognition The SpeechRecognition() constructor creates a new SpeechRecognition object instance.
- Web/API/SpeechSynthesisUtterance/SpeechSynthesisUtterance The SpeechSynthesisUtterance() constructor of the SpeechSynthesisUtterance interface returns a ...
- Web/API/SyncEvent/SyncEvent The SyncEvent() constructor creates a new SyncEvent object.
- Web/API/Text/Text The Text() constructor returns a newly created Text object with the optional DOMString given in ...
- Web/API/TextDecoder/TextDecoder The TextDecoder() constructor returns a newly created TextDecoder object for the encoding ...
- Web/API/TextEncoder/TextEncoder The TextEncoder() constructor returns a newly created utf-8 TextEncoder object.
- Web/API/Touch/Touch The Touch() constructor creates a new Touch object.
- Web/API/TouchEvent/TouchEvent The Touch Event() constructor creates a new TouchEvent.
- Web/API/TrackDefault/TrackDefault The TrackDefault() constructor of the TrackDefault interface constructs and returns a new ...
- Web/API/TrackDefaultList/TrackDefaultList The TrackDefaultList() constructor of the TrackDefaultList interface constructs and returns a ...
- Web/API/TransitionEvent/TransitionEvent The TransitionEvent() constructor returns a newly created TransitionEvent, representing an event ...
- Web/API/UIEvent/UIEvent The UIEvent() constructor creates a new UIEvent.
- Web/API/URL/URL The URL() constructor returns a newly created URL object representing the URL defined by the ...
- Web/API/URLSearchParams/URLSearchParams The URLSearchParams() constructor creates and returns a new URLSearchParams object. Leading '?' ...
- Web/API/VRFieldOfView/VRFieldOfView The VRFieldOfView() constructor creates a new VRFieldOFView object.
- Web/API/WheelEvent/WheelEvent The WheelEvent() constructor returns a newly created FocusEvent object.
- Web/API/Worker/Worker The Worker() constructor creates a Worker object that executes the script at the specified URL. ...
- Web/JavaScript/Guide/Working_with_Objects JavaScript is designed on a simple object-based paradigm. An object is a collection of ...
- Web/JavaScript/Introduction_to_Object-Oriented_JavaScript Object-oriented to the core, JavaScript features powerful, flexible OOP capabilities. This ...
- Web/JavaScript/Reference/Global_Objects/ArrayBuffer The ArrayBuffer object is used to represent a generic, fixed-length raw binary data buffer. You ...
- Web/JavaScript/Reference/Global_Objects/Boolean The Boolean object is an object wrapper for a boolean value.
- Web/JavaScript/Reference/Global_Objects/DataView The DataView view provides a low-level interface for reading and writing multiple number ...
- Web/JavaScript/Reference/Global_Objects/Float32Array The Float32Array typed array represents an array of 32-bit floating point numbers (corresponding ...
- Web/JavaScript/Reference/Global_Objects/Float64Array The Float64Array typed array represents an array of 64-bit floating point numbers (corresponding ...
- Web/JavaScript/Reference/Global_Objects/Function The Function constructor creates a new Function object. In JavaScript every function is actually ...
- Web/JavaScript/Reference/Global_Objects/GeneratorFunction The GeneratorFunction constructor creates a new generator function object. In JavaScript every ...
- Web/JavaScript/Reference/Global_Objects/Int16Array The Int16Array typed array represents an array of twos-complement 16-bit signed integers in the ...
- Web/JavaScript/Reference/Global_Objects/Int32Array The Int32Array typed array represents an array of twos-complement 32-bit signed integers in the ...
- Web/JavaScript/Reference/Global_Objects/Int8Array The Int8Array typed array represents an array of twos-complement 8-bit signed integers. The ...
- Web/JavaScript/Reference/Global_Objects/Object The Object constructor creates an object wrapper.
- Web/JavaScript/Reference/Global_Objects/RegExp The RegExp constructor creates a regular expression object for matching text with a pattern.
- Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer The SharedArrayBuffer object is used to represent a generic, fixed-length raw binary data ...