function orbitalPeriod(arr) {
const GM = 398600.4418;
const earthRadius = 6367.4447;
return arr;
}
// write the formula and implement it?
// modify objects by key?
// check for any number of objects in the array?
orbitalPeriod([{name : "sputnik", avgAlt : 35873.5553}]);
Finally made it to the last problem in the Intermediate Algorithm Scripting section But it has me very confused. Can someone help me break this problem down into simple steps?