--- id: 65aac0678d51b3f1a0cb8061 title: Step 31 challengeType: 0 dashedName: step-31 --- # --description-- Inside the `calculate` function, you have already called the `getMean` and `getMedian` functions. Below those function calls, add a `console.log(getMode(numbers))`. To see the result, enter the numbers `4, 4, 2, 5` and click on the `"Calculate"` button. Open up the console to see the following array: ```js [ 2, 4, 4, 5 ] ``` # --hints-- You should call `console.log(getMode(numbers))` inside the `calculate` function. ```js assert.match(calculate.toString(), /console\.log\(getMode\(numbers\)\)/); ``` # --seed-- ## --seed-contents-- ```html
Enter a list of comma-separated numbers.
The mean of a list of numbers is the average, calculated by taking the sum of all numbers and dividing that by the count of numbers.
Mean:
The median of a list of numbers is the number that appears in the middle of the list, when sorted from least to greatest.
Median:
The mode of a list of numbers is the number that appears most often in the list.
Mode:
The range of a list of numbers is the difference between the largest and smallest numbers in the list.
Range:
The variance of a list of numbers measures how far the values are from the mean, on average.
Variance:
The standard deviation of a list of numbers is the square root of the variance.
Standard Deviation: