Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 3e758c29e0fde36fc088efcfc88f9a3014432b64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Additional array utility functions
 
/**
 * Find the maximum value in the specified array
 * @param array
 * @returns {Object} max value
 */
Array.max = function( array ){
    return Math.max.apply( Math, array );
};
 
/**
 * Find the minimum value in the specified array
 * @param array
 * @returns {Object} min value
 */
Array.min = function( array ){
    return Math.min.apply( Math, array );
};