Loading...
Analyze a compact code puzzle and choose the exact output from multiple options.
const nums = [5, 10]; const result = nums.reduce((acc, n) => acc - n); console.log(result);