From c6f4dd932993fac86decceb4502c3a60f1246080 Mon Sep 17 00:00:00 2001 From: Amir Walker Date: Thu, 3 Sep 2026 11:07:52 -0700 Subject: [PATCH] Starting to work on findMax --- 2-js-basics/4-arrays-loops/array.js | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/2-js-basics/4-arrays-loops/array.js b/2-js-basics/4-arrays-loops/array.js index d78810887..b1895e522 100644 --- a/2-js-basics/4-arrays-loops/array.js +++ b/2-js-basics/4-arrays-loops/array.js @@ -9,4 +9,18 @@ let Pattern = []; return Pattern; } -console.log(NumPattern()); \ No newline at end of file + +console.log(NumPattern()); + + + +//- Create an array called `numbers` with at least 8 values +//- Write a function `findMaximum()` that returns the highest number +//- Write a function `findMinimum()` that returns the lowest number +//- Write a function `calculateSum()` that returns the total of all numbers + +numbers = [8,393,200,700,4,2000,638,29999] + +function findMaximum(){ + +} \ No newline at end of file