Browsing Category

# Javascript

JavaScript, often abbreviated as JS, is a high-level, just-in-time compiled, object-oriented programming language that uses the ECMAScript specification.

JavaScript has curly-bracket syntax, dynamic typing, prototype-based object-orientation, and first-class functions.

Objects, Arrays, and Strings are the main data structures of Javascript.

## JavaScript Math tan() Function Example

Javascript Math tan() is an inbuilt function that finds the tangent value of a given argument, The Math.tan() method comes handy in Javascript contexts dealing with any trigonometric expressions. JS tan() is a static method of Math, and it…

## Javascript Math sinh() Function Example

If you want to find the hyperbolic sine value of a given argument in JavaScript, then use the Math.sinh() method is used. The Math.sinh() method comes handy in programming contexts dealing with any trigonometric expressions. The sinh() is a…

## JavaScript Math tanh() Function Example

If you want to find the hyperbolic tangent value of a given argument in JavaScript, then use the Math.tanh() method is used. Javascript tanh() method comes handy in programming contexts dealing with any trigonometric expressions. The tanh()…

## JavaScript Math min() Function Example

If you want to find the minimum out of a set of numbers in JavaScript, the Math.min() method is used. Javascript min() method comes handy in the most basic of programs as well as in programs dealing with advanced algorithms. JavaScript…

## JavaScript Math sqrt() Function Example

JavaScript Math sqrt() is an inbuilt method that is used to find the square root of any number. Although the square roots of any number are positive and negative, respectively, the Math.sqrt() method returns only the positive value. The…

## JavaScript Math pow() Function Example

JavaScript Math pow() is an inbuilt method that is used to find the value of a number raised to an exponent. Javascript pow() method can come handy in several programs dealing with mathematical expressions. JavaScript Math pow() If you…

## JavaScript Math trunc() Function Example

JavaScript Math trunc() is an inbuilt method that is used to return an integral part of any number by removing the part after the decimal point(including the decimal point). The trunc() method is different from the ceil() or floor() methods…

## JavaScript Math max() Function | max() in Javascript

JavaScript Math max() is an inbuilt function that is used to find the maximum out of a set of numbers. The max() method comes handy in the most basic of programs as well as in programs dealing with advanced algorithms. JavaScript Math.max()…

## Javascript Math floor() Function | floor() in Javascript

JavaScript Math floor() is an inbuilt function that is used to find the nearest integer less than the passed value(or equal to, if the passed value is itself an integer). Floor values are often required in various algorithm-building…

## JavaScript Math cbrt() Function Example

JavaScript Math.cbrt() method is used to find the cube root of any number. The Math.cbrt() method can come handy in several programs involving mathematical calculations. The cbrt() is a static method of Math, and it can be used without…

## JavaScript Math.exp() Example | Exponential in Javascript

JavaScript Math.exp(x) is an inbuilt method that is used to find the exponential ex, where e is Euler's number. The exp() method can come handy in several programs involving mathematical calculations. Since exp() is a static method of Math,…