jQuery jAM, Season 6

Exercise 3.1

Minimum

	 
function min(x, y){
  if(x > y){
    return x;
  }else {
    return y;
}
}

console.log(min(99,86));


	 
	 

To open the JavaScript console, press F12 or on MAC press COMMAND-OPTION-I.