Answers for "highest number javascript"

3

js maximum number value

Number.MAX_VALUE;
Posted by: Guest on June-14-2020
1

js return the highest and lowest number

console.log(Math.max(1, 3, 2));
// expected output: 3

console.log(Math.max(-1, -3, -2));
// expected output: -1

const array1 = [1, 3, 2];

console.log(Math.max(...array1));
// expected output: 3
Posted by: Guest on July-09-2020

Code answers related to "highest number javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language