How To Find Minimum And Maximum Value In An Array Using JavaScript
In this challenge you are going to learn how you can get the maximum and the minimum value of an array using JavaScript. First of all we need an array.
What is an Array?
In JavaScript, an array is an ordered list of values. Each value is called an element specified by an index as shown below.

So below we will create an array with JavaScript:
JAVASCRIPT
1const numbers = [4, 12, 7, 2, 15]
Result:
