Array.prototype.max >= 0.1.2

Purpose

Get the highest value inside the array

Description


Syntax

Array#max ( );

Parameters

Return values

Number

Examples

Return the highest value in the array

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

arr.max();
>>> 60

Comments

Amy

Your internet site has excellent web content. I bookmarked the site

Jonas

Could you inform me what theme are you utilizing on your internet site? It looks good.