Find a reference entry

JavaScript Functions / Methods

Collection of JavaScript Functions and Methods

Reference entries

Collection of JavaScript Functions and Methods

__COUNT__ entries on this page

JavaScript Math.atan2(y,x) MethodIn JavaScript, the Math.atan2(y,x) method is used to get the arctangent of its arguments. Math is an in-built library in JavaScript.JavaScript Math.atanh() MethodThe Math.atanh(x) method is used to get the hyperbolic arctangent of the given number.JavaScript Math.cbrt() MethodThe Math.cbrt(x) method is used in JavaScript to get the cubic root of the number.JavaScript Math.ceil() MethodThe Math.ceil(x) method is used in JavaScript to round the number to the nearest integer without decreasing the value.JavaScript Math.cos() MethodThis article explains the javascript Math.cos() method is used to find the cosine of the angle given in the radians.JavaScript Math.cosh() MethodThis article introduces the Math.cosh() method that we can use to get the hyperbolic cosine of any numeric value.JavaScript Math.exp(x) MethodIn JavaScript, the Math.exp(x) method considers x as the number used to power e. e is the Euler's number, approximately 2.7183. This method returns the value of 2.7183 raised to a power (x).JavaScript Math.floor() MethodThe Math.floor(x) method is used to round the number value to equal or nearest largest integer smaller than the current value in JavaScript.JavaScript Math.fround() MethodThe Math.fround() method returns a single precision float of the given number in the nearest 32-bit.JavaScript Math.LN10 PropertyIn this article, users will learn about Math.LN10 property of JavaScript Math library.JavaScript Math.LN2 PropertyThe Math.LN2 is the JavaScript built-in method used to find the natural logarithm of 2.JavaScript Math.log() MethodThis article introduces the Math.log() method used to get the natural logarithms of the positive number values.JavaScript Math.log10() MethodThis article introduces the Math.log10() method to find the logarithm of positive values, given base 10.JavaScript Math.LOG10E PropertyIn JavaScript, the Math.LOG10E property is used to get the base-10 logarithm of e. Since Math.LOG10E is a property in JavaScript, so we can only invoke it by using Math as the reference object.JavaScript Math.log1p() MethodThis article introduces the Math.log1p(number), a JavaScript built-in math library method used to find the natural logarithm of the 1+number value.JavaScript Math.log2() MethodThis article introduces the Math.log2() method used to find the logarithm of any positive value given base 2.JavaScript Math.LOG2E PropertyIn this article, we will learn to use Math.LOG2E method to find the base 2 logarithm of e.JavaScript Math.max() MethodThe Math.max() method is used to return the highest value from the given values.JavaScript Math.min() MethodThe Math.min() method is used to return the lowest value from the given values.JavaScript Math.PI PropertyThe Math.PI property represents the ratio of the circumference of a circle to its diameter. Its approximate value is 3.1415.JavaScript Math.pow() MethodThe Math.pow() method is used to return the power of a number.JavaScript Math.random() MethodThe Math.random() method is used to return a floating point random number between 0 to 1.JavaScript Math.round() MethodThe Math.round() method is used to return the closest absolute integer value from a given number.JavaScript Math.sin() MethodThe Math.sin() method is used to return the sine of a number in radians from a value between -1 to 1.