write a function that takes a list of numbers and returns the largest number in the list js code example
Example 1: javascript largest number in array
const max = arr => Math.max(...arr);
Example 2: jsx return greatest number between two numbers
Math.max(5, 10);