Math() returns an object of mathematical constants
Math() takes no parameters
log Math().E // logs Euler's Number // the full object { "E": 2.718281828459045, "PI": 3.141592653589793, "LN2": 0.6931471805599453, "LN10": 2.302585092994046, "LOG2E": 1.4426950408889634, "LOG10E": 0.4342944819032518, "SQRT1_2": 0.7071067811865476, "SQRT2": 1.4142135623730951, "GOLDEN_RATIO": 1.618033988749895, "DEG_PER_RAD": 57.29577951308232, "RAD_PER_DEG": 0.017453292519943295, "TWO_PI": 6.283185307179586, "FOUR_PI": 12.566370614359172, "CATALAN": 0.915965594177219 }
Last updated 28 days ago