What will be the output of below max Javascript function?

var output1 = Math.max(55,60);
var output2 = Math.max(-15,-90);
var output3 = Math.max(10,20,30);

 Posted by Rajesh_Kumar on 2/17/2014 | Category: JavaScript Interview questions | Views: 489 | Points: 40
Answer:

Output of output1 variable will be 60
Output of output2 variable will be -15.
Output of output2 variable will be 30.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response