Tell us what’s happening:
Please can someone point out what’s wrong with this code
in this challenge I as told to use Math.sqrt()
for my standardDeviation
variable insted of Math.pow()
Your code so far
const getStandardDeviation = (array) => {
const variance = getVariance(array);
const standardDeviation = Math.sqrt(variance, 1/2);
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Challenge Information:
Learn Advanced Array Methods by Building a Statistics Calculator - Step 47