Map the Debris: this code is working in jsbin but why not passing the test

Tell us what’s happening:

Your code so far


function orbitalPeriod(arr) {
  var GM = 398600.4418;
  var earthRadius = 6367.4447;
  let h;
 for(let i =0; i< arr.length; i++){
   h = arr[i].avgAlt;
   arr[i].avgAlt = Math.round(2*Math.PI*Math.pow(h+earthRadius,1.5)/Math.sqrt(GM));
 }
  return arr;
}


orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/map-the-debris