Home directory for Malawi's wwwroot
Duncan Ewan
2021-02-19 beae6e0bf7ffeba3d49691a847fab778e5296ce5
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 );
};