Results 81 - 100 of 104

SharedWorker()

The SharedWorker() constructor creates a SharedWorker object that executes the script at the specified URL. This script must obey the same-origin policy.
API Constructor Reference Shared Workers SharedWorker Web Workers

SpeechSynthesisUtterance.SpeechSynthesisUtterance()

The SpeechSynthesisUtterance() constructor of the SpeechSynthesisUtterance interface returns a new SpeechSynthesisUtterance object instance.
API Constructor Reference speech SpeechSynthesisUtterance synthesis Web Speech API

TextEncoder()

The TextEncoder() constructor returns a newly created TextEncoder object for the encoding specified in parameter.
API Constructor Encoding Experimental Expérimental Reference Référence TextEncoder

Working with objects

JavaScript is designed on a simple object-based paradigm. An object is a collection of properties, and a property is an association between a name (or key) and a value. A property's value can be a function, in which case the property is known as a method. In addition to objects that are predefined in the browser, you can define your own objects. This chapter describes how to use objects, properties, functions, and methods, and how to create your own objects.
beginner Beginner Comparing object Constructor Document Guide JavaScript Object

Image()

Accepts two optional parameters: Image([unsigned long width, unsigned long height])
API Constructor HTML DOM HTMLImageElement NeedsBrowserCompatibility NeedsContent NeedsMarkupWork NeedsSpecTable Reference Référence

MediaSource.MediaSource()

The MediaSource() constructor of the MediaSource interface constructs and returns a new MediaSource object with no associated source buffers.
API Audio Constructor Experimental Media Source Extensions MediaSource MSE Reference Video