js convert string space separated by space in numbers code example
Example: integers to space separated string in javascript
function numbersOutput(numbers) {
var num = numbers.split(' ');
var max = Math.max.apply(null, num);
console.log(max);
}
numbersOutput("1 2 3 4 5");