JavaScript - znajdź największy
var array = [3, 5, 6, 9, 12,15, 14, 56, 7, 8, 65, 78];
var largest = array[0];
for( var i = 0; i <= array.length; i++){
if(largest < array[i]){
var largest = array[i];
}
}
console.log(largest);
Shy Stoat