2026 · Solved Question with Answer
Write a JavaScript function that takes an array and returns the largest element.