integers to space separated string in javascript

Solutions on MaxInterview for integers to space separated string in javascript by the best coders in the world

showing results for - "integers to space separated string in javascript"
Lewis
04 Jun 2019
1function numbersOutput(numbers) {
2
3  var num = numbers.split(' ');
4  var max = Math.max.apply(null, num);
5  console.log(max);
6
7}
8numbersOutput("1 2 3 4 5");