Yngvarr

Generation

generate functionThu, 01 Dec 2022

find max array

var arr = [1, 2, 3]; function max(arr){ return Math.max.apply(null, arr); } max(arr);

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant