Results 681 - 700 of 885

ArrayBuffer.transfer()

The static ArrayBuffer.transfer() method returns a new ArrayBuffer whose contents have been taken from the oldBuffer's data and then is either truncated or zero-extended by newByteLength. If newByteLength is undefined, the byteLength of the oldBuffer is used. This operation leaves oldBuffer in a detached state.
ArrayBuffer Experimental JavaScript Method Reference TypedArrays

Atomics

The Atomics object provides atomic operations as static methods. They are used with SharedArrayBuffer objects.
Atomics Experimental JavaScript Shared Memory Specifications

Atomics.add()

The static Atomics.add() method adds a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.and()

The static Atomics.and() method computes a bitwise AND with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.compareExchange()

The static Atomics.compareExchange() method exchanges a given replacement value at a given position in the array, and returns the old value at that position, if a given expected value equals the old value. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.exchange()

The static Atomics.exchange() method exchanges a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.isLockFree()

The static Atomics.isLockFree() method is used to determine whether to use locks or atomic operations. It returns true, if the given size is one of the BYTES_PER_ELEMENT property of integer TypedArray types.
Atomics Experimental JavaScript Method Shared Memory

Atomics.load()

The static Atomics.load() method returns a value at a given position in the array. This atomic operation guarantees that no other read happens until the modified value is read back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.or()

The static Atomics.or() method computes a bitwise OR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.store()

The static Atomics.store() method stores a given value at the given position in the array and returns that value. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.sub()

The static Atomics.sub() method substracts a given value at a given position in the array and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Atomics.wait()

The static Atomics.wait() method verifies that a given position in an Int32Array still contains a given value and sleeps awaiting or times out. It returns a string which is either "ok", "not-equal", or "timed-out".
Atomics Experimental JavaScript Method Shared Memory

Atomics.wake()

The static Atomics.wake() method wakes up some agents that are sleeping in the wait queue.
Atomics Experimental JavaScript Method Shared Memory

Atomics.xor()

The static Atomics.xor() method computes a bitwise XOR with a given value at a given position in the array, and returns the old value at that position. This atomic operation guarantees that no other write happens until the modified value is written back.
Atomics Experimental JavaScript Method Shared Memory

Date.prototype.getTime()

The getTime() method returns the numeric value corresponding to the time for the specified date according to universal time.
Date JavaScript Method Prototype Reference Référence

Date.prototype.getYear()

The getYear() method returns the year in the specified date according to local time. Because getYear() does not return full years ("year 2000 problem"), it is no longer used and has been replaced by the getFullYear() method.
Date Deprecated JavaScript Method Prototype Reference

Date.prototype.setYear()

The setYear() method sets the year for a specified date according to local time. Because setYear() does not set full years ("year 2000 problem"), it is no longer used and has been replaced by the setFullYear() method.
Date Deprecated JavaScript Method Prototype Reference

Date.prototype.toGMTString()

The toGMTString() method converts a date to a string, using Internet Greenwich Mean Time (GMT) conventions. The exact format of the value returned by toGMTString() varies according to the platform and browser, in general it should represent a human readable date string.
Date Deprecated JavaScript Method Prototype Reference

Date.prototype.toISOString()

The toISOString() method returns a string in simplified extended ISO format (ISO 8601), which is always 24 or 27 characters long (YYYY-MM-DDTHH:mm:ss.sssZ or ±YYYYYY-MM-DDTHH:mm:ss.sssZ, respectively). The timezone is always zero UTC offset, as denoted by the suffix "Z".
Date JavaScript Method polyfill Prototype Reference

Date.prototype.toLocaleDateString()

The toLocaleDateString() method returns a string with a language sensitive representation of the date portion of this date. The new locales and options arguments let applications specify the language whose formatting conventions should be used and allow to customize the behavior of the function. In older implementations, which ignore the locales and options arguments, the locale used and the form of the string returned are entirely implementation dependent.
Date Internationalization JavaScript Method Prototype Reference