Google News
logo
Underscore.js - Interview Questions
what is Underscore.js _.max Function?
The _.max() function is used to find the minimum element from the list passed. If an iteratee is given, then it will be applied to each value and generate criteria to rank the values and find the minimum element.
 
Syntax :
_.max(list, [iteratee], [context])
Parameters : This function accepts three parameters as mentioned above and described below:
 
* List : This parameter is used to hold the list of items.
* Predicate : This parameter is used to hold the test condition.
* Context : This parameter is used to display the content.
Advertisement