Answer: No ,we can pass only integer or numeric value in Max function.If we provide value other than numeric,then Max function will return
NAN means Not A Number .
For Example:
var value = Math.max("a",20,"b");
Asked In: Many Interviews |
Alert Moderator