Array.prototype.min >= 0.1.2

Purpose

Get the lowest value inside the array

Syntax

Array#min ( );

Return values

Number

Examples

Return the lowest value in the array

var arr = [0, 1, 2, 3, -1, 60, 20];

arr.min();>>> -1