Tell us what’s happening:
Hello on the functinnal programming par in JS dataStructure.
I find another solution than we can see on the offer hint.
How can i share it ?
**Your code so far**
function orbitalPeriod(arr) {
const GM = 398600.4418;
const earthRadius = 6367.4447;
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/96.0.4664.110 Safari/537.36
Challenge: Map the Debris
Link to the challenge: