Articles tagged: ECMAScript6
Found 190 documents
- Web/JavaScript/New_in_JavaScript/ECMAScript_6_support_in_Mozilla ECMAScript 2015 (6th Edition) is the current version of the ECMAScript Language Specification ...
- Web/JavaScript/Reference/Classes JavaScript classes introduced in ECMAScript 6 are syntactical sugar over JavaScript's existing ...
- Web/JavaScript/Reference/Classes/constructor The constructor method is a special method for creating and initializing an object created with ...
- Web/JavaScript/Reference/Classes/extends The extends keyword is used in a class declarations or class expressions to create a class with ...
- Web/JavaScript/Reference/Classes/static The static keyword defines a static method for a class.
- Web/JavaScript/Reference/Functions/Arrow_functions An arrow function expression has a shorter syntax compared to function expressions and does not ...
- Web/JavaScript/Reference/Functions/Default_parameters Default function parameters allow formal parameters to be initialized with default values if no ...
- Web/JavaScript/Reference/Functions/get The get syntax binds an object property to a function that will be called when that property is ...
- Web/JavaScript/Reference/Functions/Method_definitions Starting with ECMAScript 2015 (ES6), a shorter syntax for method definitions on objects ...
- Web/JavaScript/Reference/Global_Objects/Array/@@iterator The initial value of the @@iterator property is the same function object as the initial value of ...
- Web/JavaScript/Reference/Global_Objects/Array/@@unscopables The @@unscopable symbol property contains property names that were not included in the ...
- Web/JavaScript/Reference/Global_Objects/Array/copyWithin The copyWithin() method shallow copies part of an array to another location in the same array ...
- Web/JavaScript/Reference/Global_Objects/Array/entries The entries() method returns a new Array Iterator object that contains the key/value pairs for ...
- Web/JavaScript/Reference/Global_Objects/Array/fill The fill() method fills all the elements of an array from a start index to an end index with a ...
- Web/JavaScript/Reference/Global_Objects/Array/find The find() method returns a value in the array, if an element in the array satisfies the ...
- Web/JavaScript/Reference/Global_Objects/Array/findIndex The findIndex() method returns an index in the array, if an element in the array satisfies the ...
- Web/JavaScript/Reference/Global_Objects/Array/from The Array.from() method creates a new Array instance from an array-like or iterable object.
- Web/JavaScript/Reference/Global_Objects/Array/keys The keys() method returns a new Array Iterator that contains the keys for each index in the array.
- Web/JavaScript/Reference/Global_Objects/Array/of The Array.of() method creates a new Array instance with a variable number of arguments, ...
- Web/JavaScript/Reference/Global_Objects/Array/values The values() method returns a new Array Iterator object that contains the values for each index ...
- Web/JavaScript/Reference/Global_Objects/Function/bind The bind() method creates a new function that, when called, has its this keyword set to the ...
- Web/JavaScript/Reference/Global_Objects/Function/name The function.name property returns the name of the function.
- Web/JavaScript/Reference/Global_Objects/Generator The Generator object is returned by a generator function and it conforms to both the iterable ...
- Web/JavaScript/Reference/Global_Objects/Generator/next The next () method returns an object with two properties done and value. You can also provide a ...
- Web/JavaScript/Reference/Global_Objects/Generator/return The return() method returns the given value and finishes the generator.
- Web/JavaScript/Reference/Global_Objects/Generator/throw The throw() method resumes the execution of a generator by throwing an error into it and returns ...
- Web/JavaScript/Reference/Global_Objects/GeneratorFunction The GeneratorFunction constructor creates a new generator function object. In JavaScript every ...
- Web/JavaScript/Reference/Global_Objects/GeneratorFunction/prototype The GeneratorFunction.prototype property represents the GeneratorFunction prototype object.
- Web/JavaScript/Reference/Global_Objects/Map The Map object is a simple key/value map. Any value (both objects and primitive values) may be ...
- Web/JavaScript/Reference/Global_Objects/Map/@@iterator The initial value of the @@iterator property is the same function object as the initial value of ...
- Web/JavaScript/Reference/Global_Objects/Map/@@species The Map[@@species] accessor property returns the Map constructor.
- Web/JavaScript/Reference/Global_Objects/Map/@@toStringTag The Map[@@toStringTag] property has an initial value of "Map".
- Web/JavaScript/Reference/Global_Objects/Map/clear The clear() method removes all elements from a Map object.
- Web/JavaScript/Reference/Global_Objects/Map/delete The delete() method removes the specified element from a Map object.
- Web/JavaScript/Reference/Global_Objects/Map/entries The entries() method returns a new Iterator object that contains the [key, value] pairs for each ...
- Web/JavaScript/Reference/Global_Objects/Map/forEach The forEach() method executes a provided function once per each key/value pair in the Map ...
- Web/JavaScript/Reference/Global_Objects/Map/get The get() method returns a specified element from a Map object.
- Web/JavaScript/Reference/Global_Objects/Map/has The has() method returns a boolean indicating whether an element with the specified key exists ...
- Web/JavaScript/Reference/Global_Objects/Map/keys The keys() method returns a new Iterator object that contains the keys for each element in the ...
- Web/JavaScript/Reference/Global_Objects/Map/prototype The Map.prototype property represents the prototype for the Map constructor.
- Web/JavaScript/Reference/Global_Objects/Map/set The set() method adds or updates an element with a specified key and value to a Map object.
- Web/JavaScript/Reference/Global_Objects/Map/size The size accessor property returns the number of elements in a Map object.
- Web/JavaScript/Reference/Global_Objects/Map/values The values() method returns a new Iterator object that contains the values for each element in ...
- Web/JavaScript/Reference/Global_Objects/Math/clz32 The Math.clz32() function returns the number of leading zero bits in the 32-bit binary ...
- Web/JavaScript/Reference/Global_Objects/Math/log10 The Math.log10() function returns the base 10 logarithm of a number, that is
- Web/JavaScript/Reference/Global_Objects/Math/log1p The Math.log1p() function returns the natural logarithm (base e) of 1 + a number, that is
- Web/JavaScript/Reference/Global_Objects/Math/log2 The Math.log2() function returns the base 2 logarithm of a number, that is
- Web/JavaScript/Reference/Global_Objects/Math/sinh The Math.sinh() function returns the hyperbolic sine of a number, that can be expressed using ...
- Web/JavaScript/Reference/Global_Objects/Math/tanh The Math.tanh() function returns the hyperbolic tangent of a number, that is
- Web/JavaScript/Reference/Global_Objects/Math/trunc The Math.trunc() function returns the integral part of a number by removing any fractional digits.
- Web/JavaScript/Reference/Global_Objects/Number/EPSILON The Number.EPSILON property represents the difference between one and the smallest value greater ...
- Web/JavaScript/Reference/Global_Objects/Number/isNaN The Number.isNaN() method determines whether the passed value is NaN. It is a more robust ...
- Web/JavaScript/Reference/Global_Objects/Number/isSafeInteger The Number.isSafeInteger() method determines whether the provided value is a number that is a ...
- Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER The Number.MAX_SAFE_INTEGER constant represents the maximum safe integer in JavaScript (2 53 - 1).
- Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER The Number.MIN_SAFE_INTEGER constant represents the minimum safe integer in JavaScript (-(2 53 - ...
- Web/JavaScript/Reference/Global_Objects/Number/parseFloat The Number.parseFloat() method parses a string argument and returns a floating point number. ...
- Web/JavaScript/Reference/Global_Objects/Number/parseInt The Number.parseInt() method parses a string argument and returns an integer of the specified ...
- Web/JavaScript/Reference/Global_Objects/Object/assign The Object.assign() method is used to copy the values of all enumerable own properties from one ...
- Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertySymbols The Object.getOwnPropertySymbols() method returns an array of all symbol properties found ...
- Web/JavaScript/Reference/Global_Objects/Object/is The Object.is() method determines whether two values are the same value.
- Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf The Object.setPrototypeOf() method sets the prototype (i.e., the internal [[Prototype]] ...
- Web/JavaScript/Reference/Global_Objects/Promise The Promise object is used for asynchronous computations. A Promise represents a value which may ...
- Web/JavaScript/Reference/Global_Objects/Promise/all The Promise.all(iterable) method returns a promise that resolves when all of the promises in the ...
- Web/JavaScript/Reference/Global_Objects/Promise/catch The catch() method returns a Promise and deals with rejected cases only. It behaves the same as ...
- Web/JavaScript/Reference/Global_Objects/Promise/race The Promise.race(iterable) method returns a promise that resolves or rejects as soon as one of ...
- Web/JavaScript/Reference/Global_Objects/Promise/reject The Promise.reject(reason) method returns a Promise object that is rejected with the given reason.
- Web/JavaScript/Reference/Global_Objects/Promise/resolve The Promise.resolve(value) method returns a Promise object that is resolved with the given ...
- Web/JavaScript/Reference/Global_Objects/Promise/then The then() method returns a Promise. It takes two arguments: callback functions for the success ...
- Web/JavaScript/Reference/Global_Objects/Proxy The Proxy object is used to define custom behavior for fundamental operations (e.g. property ...
- Web/JavaScript/Reference/Global_Objects/Proxy/handler The proxy's handler object is a placeholder object which contains traps for proxies.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/apply The handler.apply() method is a trap for a function call.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/construct The handler.construct() method is a trap for the new operator.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/defineProperty The handler.defineProperty() method is a trap for Object.defineProperty().
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/deleteProperty The handler.deleteProperty() method is a trap for the delete operator.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/enumerate The handler.enumerate() method used to be a trap for for...in statements, but has been removed ...
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/get The handler.get() method is a trap for getting a property value.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/getOwnPropertyDescriptor The handler.getOwnPropertyDescriptor() method is a trap for Object.getOwnPropertyDescriptor().
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/getPrototypeOf The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] internal method.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/has The handler.has() method is a trap for the in operator.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/isExtensible The handler.isExtensible() method is a trap for Object.isExtensible().
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/ownKeys The handler.ownKeys() method is a trap for Object.getOwnPropertyNames().
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/preventExtensions The handler.preventExtensions() method is a trap for Object.preventExtensions().
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/set The handler.set() method is a trap for setting a property value.
- Web/JavaScript/Reference/Global_Objects/Proxy/handler/setPrototypeOf The handler.setPrototypeOf() method is a trap for Object.setPrototypeOf().
- Web/JavaScript/Reference/Global_Objects/Proxy/revocable The Proxy.revocable() method is used to create a revocable Proxy object.
- Web/JavaScript/Reference/Global_Objects/Reflect Reflect is a built-in object that provides methods for interceptable JavaScript operations. The ...
- Web/JavaScript/Reference/Global_Objects/Reflect/apply The static Reflect.apply() method calls a target function with arguments as specified.
- Web/JavaScript/Reference/Global_Objects/Reflect/construct The static Reflect.construct() method acts like the new operator as a function. It is equivalent ...
- Web/JavaScript/Reference/Global_Objects/Reflect/defineProperty The static Reflect.defineProperty() method is like Object.defineProperty() but returns a Boolean.
- Web/JavaScript/Reference/Global_Objects/Reflect/deleteProperty The static Reflect.deleteProperty() method allows to delete properties. It is like the delete ...
- Web/JavaScript/Reference/Global_Objects/Reflect/enumerate The static Reflect.enumerate() method used to return an iterator with the enumerable own and ...
- Web/JavaScript/Reference/Global_Objects/Reflect/get The static Reflect.get() method works like getting a property from an object ...
- Web/JavaScript/Reference/Global_Objects/Reflect/getOwnPropertyDescriptor The static Reflect.getOwnPropertyDescriptor() method is similar to ...
- Web/JavaScript/Reference/Global_Objects/Reflect/getPrototypeOf The static Reflect.getPrototypeOf() method is the same method as Object.getPrototypeOf(). It ...
- Web/JavaScript/Reference/Global_Objects/Reflect/has The static Reflect.has() method works like the in operator as a function.
- Web/JavaScript/Reference/Global_Objects/Reflect/isExtensible The static Reflect.isExtensible() method determines if an object is extensible (whether it can ...
- Web/JavaScript/Reference/Global_Objects/Reflect/ownKeys The static Reflect.ownKeys() method returns an array of the target object's own property keys.
- Web/JavaScript/Reference/Global_Objects/Reflect/preventExtensions The static Reflect.preventExtensions() method prevents new properties from ever being added to ...
- Web/JavaScript/Reference/Global_Objects/Reflect/set The static Reflect.set() method works like setting a property on an object.
- Web/JavaScript/Reference/Global_Objects/Reflect/setPrototypeOf The static Reflect.setPrototypeOf() method is the same method as Object.setPrototypeOf(). It ...