Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

min in array

int min=0;
for(int i=0;i<array.length;i++)
{
	if(array[i] < min)
    	min = array[i]
}
return min;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #min #array
ADD COMMENT
Topic
Name
9+6 =