Results 801 - 820 of 885

Worker

The Worker interface of the Web Workers API represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread.
API DOM Interface JavaScript Reference Référence Web Workers Worker Workers

Worker.postMessage()

The postMessage() method of the Worker interface sends a message to the worker's inner scope. This accepts a single parameter, which is the data to send to the worker. The data may be any value or JavaScript object handled by the structured clone algorithm, which includes cyclical references.
API JavaScript Method postMessage Reference Référence Web Workers Worker

Regular Expressions

Regular expressions are patterns used to match character combinations in strings. In JavaScript, regular expressions are also objects. These patterns are used with the exec and test methods of RegExp, and with the match, replacesearch, and split methods of String. This chapter describes JavaScript regular expressions.
Guide Intermediate JavaScript Reference regex RegExp Regular Expressions

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

Object.is()

The Object.is() method determines whether two values are the same value.
Comparison Condition Conditional ECMAScript6 Equality JavaScript Method Object

RegExp.prototype.compile()

The deprecated compile() method is used to (re-)compile a regular expression during execution of a script. It is basically the same as the RegExp constructor.
Deprecated JavaScript Method Prototype Reference RegExp Regular Expressions

RegExp.prototype.flags

The flags property returns a string consisting of the flags of the current regular expression object.
ECMAScript6 JavaScript Property Prototype Reference RegExp Regular Expressions

RegExp.lastMatch ($&)

The non-standard lastMatch property is a static and read-only property of regular expressions that contains the last matched characters. RegExp.$& is an alias for this property.
JavaScript Property Read-only Reference RegExp Regular Expressions

RegExp.lastParen ($+)

The non-standard lastParen property is a static and read-only property of regular expressions that contains the last parenthesized substring match, if any. RegExp.$+ is an alias for this property.
JavaScript Property Read-only Reference RegExp Regular Expressions

RegExp.leftContext ($`)

The non-standard leftContext property is a static and read-only property of regular expressions that contains the substring preceding the most recent match. RegExp.$` is an alias for this property.
JavaScript Property Read-only Reference RegExp Regular Expressions

RegExp.$1-$9

The non-standard $1, $2, $3, $4, $5, $6, $7, $8, $9 properties are static and read-only properties of regular expressions that contain parenthesized substring matches.
JavaScript Property Read-only Reference RegExp Regular Expressions

RegExp.rightContext ($')

The non-standard rightContext property is a static and read-only property of regular expressions that contains the substring following the most recent match. RegExp.$' is an alias for this property.
JavaScript Property Read-only Reference RegExp Regular Expressions

RegExp.prototype.sticky

The sticky property reflects whether or not the search is sticky (searches in strings only from the index indicated by the lastIndex property of this regular expression). sticky is a read-only property of an individual regular expression object.
ECMAScript6 JavaScript Property Prototype Reference RegExp Regular Expressions

RegExp.prototype.unicode

The unicode property indicates whether or not the "u" flag is used with a regular expression. unicode is a read-only property of an individual regular expression instance.
ECMAScript6 JavaScript Property Prototype Reference RegExp Regular Expressions

String.prototype.anchor()

The anchor() method creates an <a> HTML anchor element that is used as a hypertext target.
HTML wrapper methods JavaScript Method Prototype Reference String

String.prototype.big()

The big() method creates a <big> HTML element that causes a string to be displayed in a big font.
Deprecated HTML wrapper methods JavaScript Method Prototype Reference String

String.prototype.blink()

The blink() method creates a <blink> HTML element that causes a string to blink.
Deprecated HTML wrapper methods JavaScript Method Prototype Reference String

String.prototype.bold()

The bold() method creates a <b> HTML element that causes a string to be displayed as bold.
Deprecated HTML wrapper methods JavaScript Method Prototype Reference String

String.prototype.fixed()

The fixed() method creates a <tt> HTML element that causes a string to be displayed in fixed-pitch font.
Deprecated HTML wrapper methods JavaScript Method Prototype Reference String