Jessica's JavaScriptmas Challenge

10. Adjacent Elements Product


Create an array of numbers. All adjacent numbers in your array will be multiplied and the largest product will be returned.

Example: The result of the array [1, 3, 5, -2, 9, 1] will be 15 (3 × 5).


Array of Numbers: []






Largest product: