"function maxAndMin(nums){\n  let max = Math.max(...nums);\n  let min = Math.min(...nums);\n  console.log(Max value: , max);\n  console.log(Min value: , min);\n}"
Create a JavaScript program to print the maximum and minimum of given numbers??