Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Category: JavaScript Reference

  • October 9, 2026
    The Math.LOG10E static data property represents the base 10 logarithm of e, approximately 0.434.
  • October 9, 2026
    The Math.LN2 static data property represents the natural logarithm of 2, approximately 0.693:
  • October 9, 2026
    The Math.log10() static method returns the base 10 logarithm of a number.
  • October 9, 2026
    The Math.LN10 static data property represents the natural logarithm of 10, approximately 2.303.
  • October 9, 2026
    The Math.imul() static method returns the result of the C-like 32-bit multiplication of the two parameters.
  • October 9, 2026
    The Math.fround() static method returns the nearest 32-bit single precision float representation of a number.
  • October 9, 2026
    The Math.hypot() static method returns the square root of the sum of squares of its arguments.
  • October 9, 2026
    The Math.expm1() static method returns e raised to the power of a number, subtracted by 1.
  • October 9, 2026
    The Math.f16round() static method returns the nearest 16-bit half precision float representation of a number.
  • October 9, 2026
    The Math.floor() static method always rounds down and returns the largest integer less than or equal to a given number.
  • October 9, 2026
    The Math.exp() static method returns e raised to the power of a number.
  • October 9, 2026
    The Math.E static data property represents Euler's number, the base of natural logarithms, e, which is approximately 2.718.
  • October 9, 2026
    The Math.cos() static method returns the cosine of a number in radians.
  • October 9, 2026
    The Math.cosh() static method returns the hyperbolic cosine of a number.
  • October 9, 2026
    The Math.ceil() static method always rounds up and returns the smallest integer greater than or equal to a given number.
  • October 9, 2026
    The Math.clz32() static method returns the number of leading zero bits in the 32-bit binary representation of a number.
  • October 9, 2026
    The Math.atanh() static method returns the inverse hyperbolic tangent of a number.
  • October 9, 2026
    The Math.cbrt() static method returns the cube root of a number.
  • October 9, 2026
    The Math.atan2() static method returns the angle in the plane (in radians) between the positive x-axis and the ray from…
  • October 9, 2026
    The Math.atan() static method returns the inverse tangent (in radians) of a number, that is
  • October 9, 2026
    The Math.acosh() static method returns the inverse hyperbolic cosine of a number.
  • October 9, 2026
    The Math.asin() static method returns the inverse sine (in radians) of a number.
  • October 9, 2026
    The Math.asinh() static method returns the inverse hyperbolic sine of a number.
  • October 9, 2026
    The Math.abs() static method returns the absolute value of a number.
  • October 9, 2026
    The Math.acos() static method returns the inverse cosine (in radians) of a number.
  • October 9, 2026
    The Math namespace object contains static properties and methods for mathematical constants and functions.
  • October 9, 2026
    The Map[Symbol.species] static accessor property is an unused accessor property specifying how to copy Map objects.
  • October 9, 2026
    The getOrInsertComputed() method of Map instances returns the value corresponding to the specified key in this Map.
  • October 9, 2026
    The has() method of Map instances returns a boolean indicating whether an entry with the specified key exists in this…
  • October 9, 2026
    The set() method of Map instances adds a new entry with a specified key and value to this Map, or…
  • October 9, 2026
    The Symbol.iterator method of Map instances implements the iterable protocol and allows Map objects to be consumed by most syntaxes…
  • October 9, 2026
    The getOrInsert() method of Map instances returns the value corresponding to the specified key in this Map.
  • October 9, 2026
    The delete() method of Map instances removes the entry specified by the key from this Map.
  • October 9, 2026
    The forEach() method of Map instances executes a provided function once per each key/value pair in this map, in insertion…
  • October 9, 2026
    The get() method of Map instances returns the value corresponding to the key in this Map, or undefined if there…
  • October 9, 2026
    Note: In some versions of some browsers, this method was implemented as the method Array.prototype.groupToMap().
  • October 9, 2026
    The Map object holds key-value pairs and remembers the original insertion order of the keys.
  • October 9, 2026
    Parameters: iterable If an iterable object (such as an array) is passed, all of its elements will be added to…
  • October 9, 2026
    The JSON.rawJSON() static method creates a "raw JSON" object containing a piece of JSON text.
  • October 9, 2026
    The JSON.stringify() static method converts a JavaScript value to a JSON string, optionally replacing values if a replacer function is…
  • October 9, 2026
    The JSON.parse() static method parses a JSON string, constructing the JavaScript value or object described by the string.
  • October 9, 2026
    The JSON.isRawJSON() static method tests whether a value is an object returned by JSON.rawJSON().
  • October 9, 2026
    The isNaN() function determines whether a value is NaN, first converting the value to a number if necessary.
  • October 9, 2026
    The isFinite() function determines whether a value is finite, first converting the value to a number if necessary.
  • October 9, 2026
    The Intl.NumberFormat.supportedLocalesOf() static method returns an array containing those of the provided locales that are supported in number formatting without…
  • October 9, 2026
    The Intl.supportedValuesOf() static method returns an array containing the supported calendar, collation, currency, numbering systems, or unit values supported by…
  • October 9, 2026
    The resolvedOptions() method of Intl.NumberFormat instances returns a new object with properties reflecting the options computed during initialization of this…
  • October 9, 2026
    The formatRange() method of Intl.NumberFormat instances formats a range of numbers according to the locale and formatting options of this…
  • October 9, 2026
    The formatRangeToParts() method of Intl.NumberFormat instances returns an Array of objects containing the locale-specific tokens from which it is possible…
  • October 9, 2026
    The formatToParts() method of Intl.NumberFormat instances returns an array of objects representing each part of the formatted string that would…
  • October 9, 2026
    The format() method of Intl.NumberFormat instances formats a number according to the locale and formatting options of this Intl.NumberFormat object.
  • October 9, 2026
    The Intl.NumberFormat() constructor creates Intl.NumberFormat objects.
  • October 9, 2026
    The Intl.NumberFormat object enables language-sensitive number formatting.
  • October 9, 2026
    The Intl.DateTimeFormat.supportedLocalesOf() static method returns an array containing those of the provided locales that are supported in date and time…
  • October 9, 2026
    The Intl.getCanonicalLocales() static method returns an array containing the canonical locale names.
  • October 9, 2026
    The formatToParts() method of Intl.DateTimeFormat instances returns an array of objects representing each part of the formatted string that would…
  • October 9, 2026
    The resolvedOptions() method of Intl.DateTimeFormat instances returns a new object with properties reflecting the options computed during initialization of this…
  • October 9, 2026
    The formatRangeToParts() method of Intl.DateTimeFormat instances returns an array of objects representing each part of the formatted string that would…
  • October 9, 2026
    The format() method of Intl.DateTimeFormat instances formats a date according to the locale and formatting options of this Intl.DateTimeFormat object.
  • October 9, 2026
    The formatRange() method of Intl.DateTimeFormat instances formats a date range in the most concise way based on the locales and…
  • October 9, 2026
    The Intl.DateTimeFormat object enables language-sensitive date and time formatting.
  • October 9, 2026
    The Intl.DateTimeFormat() constructor creates Intl.DateTimeFormat objects.
  • October 9, 2026
    The Intl.Collator.supportedLocalesOf() static method returns an array containing those of the provided locales that are supported in collation without having…
  • October 9, 2026
    The compare() method of Intl.Collator instances compares two strings according to the sort order of this collator object.
  • October 9, 2026
    The resolvedOptions() method of Intl.Collator instances returns a new object with properties reflecting the options computed during initialization of this…
  • October 9, 2026
    The Intl namespace object contains several constructors as well as functionality common to the internationalization constructors and other language sensitive…
  • October 9, 2026
    The Intl.Collator object enables language-sensitive string comparison.
  • October 9, 2026
    The Intl.Collator() constructor creates Intl.Collator objects.
  • October 9, 2026
    The Infinity global property is a numeric value representing infinity.
  • October 9, 2026
    The handler.setPrototypeOf() method is a trap for the [[SetPrototypeOf]] object internal method, which is used by operations such as Object.setPrototypeOf().
  • October 9, 2026
    The handler.preventExtensions() method is a trap for the [[PreventExtensions]] object internal method, which is used by operations such as Object.preventExtensions().
  • October 9, 2026
    The handler.set() method is a trap for the [[Set]] object internal method, which is used by operations such as using…
  • October 9, 2026
    The handler.has() method is a trap for the [[HasProperty]] object internal method, which is used by operations such as the…
  • October 9, 2026
    The handler.isExtensible() method is a trap for the [[IsExtensible]] object internal method, which is used by operations such as Object.isExtensible().
  • October 9, 2026
    The handler.ownKeys() method is a trap for the [[OwnPropertyKeys]] object internal method, which is used by operations such as Object.keys(),…
  • October 9, 2026
    The handler.getOwnPropertyDescriptor() method is a trap for the [[GetOwnProperty]] object internal method, which is used by operations such as Object.getOwnPropertyDescriptor().
  • October 9, 2026
    The handler.getPrototypeOf() method is a trap for the [[GetPrototypeOf]] object internal method, which is used by operations such as Object.getPrototypeOf().
  • October 9, 2026
    The handler.deleteProperty() method is a trap for the [[Delete]] object internal method, which is used by operations such as the…
  • October 9, 2026
    The handler.get() method is a trap for the [[Get]] object internal method, which is used by operations such as property…
  • October 9, 2026
    The handler.construct() method is a trap for the [[Construct]] object internal method, which is used by operations such as the…
  • October 9, 2026
    The handler.defineProperty() method is a trap for the [[DefineOwnProperty]] object internal method, which is used by operations such as Object.defineProperty().
  • October 9, 2026
    The handler.apply() method is a trap for the [[Call]] object internal method, which is used by operations such as function…
  • October 9, 2026
    The globalThis global property contains the global this value, which is usually akin to the global object.
  • October 9, 2026
    The throw() method of Generator instances acts as if a throw statement is inserted in the generator's body at the…
  • October 9, 2026
    The return() method of Generator instances acts as if a return statement is inserted in the generator's body at the…
  • October 9, 2026
    The next() method of Generator instances returns an object with two properties done and value.
  • October 9, 2026
    The Generator object is returned by a generator function and it conforms to both the iterable protocol and the iterator…
  • October 9, 2026
    The name data property of a Function instance indicates the function's name as specified when it was created, or it…
  • October 9, 2026
    The prototype data property of a Function instance is used when the function is used as a constructor with the…
  • October 9, 2026
    The Symbol.hasInstance method of Function instances specifies the default procedure for determining if a constructor function recognizes an object as…
  • October 9, 2026
    The length data property of a Function instance indicates the number of parameters expected by the function.
  • October 9, 2026
    The call() method of Function instances calls this function with a given this value and arguments provided individually.
  • October 9, 2026
    The toString() method of Function instances returns a string representing the source code of this function.
  • October 9, 2026
    The bind() method of Function instances creates a new function that, when called, calls this function with its this keyword…
  • October 9, 2026
    The apply() method of Function instances calls this function with a given this value, and arguments provided as an array…
  • October 9, 2026
    The Function object provides methods for functions.
  • October 9, 2026
    Warning: The arguments passed to this constructor are dynamically parsed and executed as JavaScript.
  • October 9, 2026
    The EvalError object indicates an error regarding the global eval() function.
  • October 9, 2026
    The cause data property of an Error instance indicates the specific original cause of the error.
  • October 9, 2026
    The message data property of an Error instance is a human-readable description of the error.