mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Remove references to _.
This commit is contained in:
5
max.js
5
max.js
@@ -8,16 +8,15 @@ import identity from './identity.js';
|
||||
*
|
||||
* @static
|
||||
* @since 0.1.0
|
||||
* @memberOf _
|
||||
* @category Math
|
||||
* @param {Array} array The array to iterate over.
|
||||
* @returns {*} Returns the maximum value.
|
||||
* @example
|
||||
*
|
||||
* _.max([4, 2, 8, 6]);
|
||||
* max([4, 2, 8, 6]);
|
||||
* // => 8
|
||||
*
|
||||
* _.max([]);
|
||||
* max([]);
|
||||
* // => undefined
|
||||
*/
|
||||
function max(array) {
|
||||
|
||||
Reference in New Issue
Block a user