On this page
Math
Prev: String | Up: builtins | Next: JSON
Rel: JSON, Math, BigInt & Date Guide, Prototype Chain & new Flow
Ref: MDN Web Docs — Math
Tags: #public #web #javascript #builtins #math #index
Overview
Static namespace of IEEE 754 mathematical constants and functions.
Core (#tier/core)
- Math.floor — Rounds
xdownward toward $-\infty$ (trunc()drops the fractional part toward0). - Math.min — Returns the smallest (or largest) of zero or more numbers (
Infinity/-Infinityif empty). - Math.random — Returns a pseudo-random floating-point number in
[0, 1).
Standard (#tier/standard)
- Math.hypot — Computes the square root of the sum of squares without intermediate overflow/underflow.
Linked from
Related notes
- tuts/javascript/builtins Linked here; links to this page; shared tags: #builtins, #index, #javascript, #web
- tuts/javascript/builtins/JSON Linked here; links to this page; shared tags: #builtins, #index, #javascript, #web
- tuts/javascript/builtins/Math/floor Linked here; links to this page; shared tags: #builtins, #javascript, #math, #web
- tuts/javascript/builtins/Math/hypot Linked here; links to this page; shared tags: #builtins, #javascript, #math, #web
- tuts/javascript/builtins/Math/min Linked here; links to this page; shared tags: #builtins, #javascript, #math, #web
- tuts/javascript/builtins/Math/random Linked here; links to this page; shared tags: #builtins, #javascript, #math, #web
- tuts/javascript/builtins/String Linked here; links to this page; shared tags: #builtins, #index, #javascript, #web
- tuts/javascript/builtins/json_math_and_date Linked here; shared tags: #builtins, #javascript, #web
- tuts/javascript/builtins/String/substr links to this page; shared tags: #builtins, #javascript, #web
- tuts/javascript/tutorials/prototype_chain_and_new_flow Linked here; shared tags: #javascript, #web