open_in_new
content_copy
let highestMark = marks.reduce((a, b) => a.mark > b.mark ? a : b) console.log(highestMark);