Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

highest and lowest javascript

function highAndLow(numbers){
  numbers = numbers.split(" ");
  return Math.max.apply(null, numbers) + " " +  Math.min.apply(null, numbers);
}
 
PREVIOUS NEXT
Tagged: #highest #lowest #javascript
ADD COMMENT
Topic
Name
9+2 =