ES6-- value

Binary and octal notation

Binary: 0b or 0B
Octal: 0o or 0O
 
// determines whether the digital finite 
Number.isFinite () 

// determines whether the digital NaN3 
Number.isNaN () 

// converted to an integer 
Number.parseInt () 

// converted to a floating 
Number.parseFloat () 

// determines whether the number integer 
Number.isInteger () 

// constants introduced 
Number.EPSILON Math.pow = (2, -52 ) 

// security integer 
Number.MAX_SAFE_INTEGER Math.pow = (2, 53 is) -. 1 
Number.MIN_SAFE_INTEGER = - Number.MAX_SAFE_INTEGER 

// determines whether the number in the safe range of integers 
Number.isSafeInteger () 

// remove the fractional part of a number, returns the integer part 
Math.trunc (); 

// Analyzing a number in the end is the positive, negative, or zero 
Math.sign ( ) 

//Calculating the cubic root of a number 
Math.cbrt () 

// parameter into a 32-bit unsigned integer, and returns the 32-bit value of which the number of leading 0 
Math.clz32 () 

// Returns the two 32-bit numbers to multiplying the result as a signed integer, is the return of a 32-bit signed integer 
Math.imul () 

// returns a number of 32-bit single precision floating point 
Math.fround () 

// returns the square of all parameters and square root 
Math.hypot () 

// Math.expm1 (X), returns EX -. 1, Math.exp (X) -. 1 
Math.expm1 () 

// Math.log1p (X), returns to the Natural 1 + x number, i.e. the Math.log (. 1 + x) 
Math.log1p () 

// Math.log10 (x), returns to the base 10 logarithm of x 
Math.log10 () 

// Math.log2 (x) returns the base-2 logarithm of x 
Math.log2 () 

// returns the hyperbolic sine of x (Hyperbolic sine) 
Math.sinh (x) 

//Returns the hyperbolic cosine of x (Hyperbolic cosine) 
Math.cosh (x) 

// Returns the hyperbolic tangent of x (Hyperbolic Tangent) 
Math.tanh (x) 

// returns the inverse hyperbolic sine of x (inverse Hyperbolic Sine) 
the Math. asinh (x) 

// returns the inverse hyperbolic cosine of x (Hyperbolic cosine inverse) 
Math.acosh (x) 

// returns the inverse hyperbolic tangent of x (inverse Hyperbolic tangent) 
Math.atanh (x) 

// the exponential operator ( **) 
2 ** 2 // . 4 
2 ** 3 // 8 

// corresponds to 2 ** (2 ** 3) 
2 2 ** 3 ** // 512 
the let A = for 1.5 ; 
A ** 2 = ;

 

Guess you like

Origin www.cnblogs.com/britney/p/11322917.html