Thanks for the reply! Not sure what you mean exactly since the returned array has correct orbitalPeriod values according to console. The values in the pic are printed due to “console.log(arr)” at the end of the code.
Something about the Object.defineProperty isn’t working. It may have to do with the code editor? (I say that because I think that FCC and repl.it both use tha manaco editor). If I change that to just
Of course my solution was unnecessarily complicated, I forgot you can add properties this way as well. It’s strange that freecodecamp’s console printed the correct result with my original code. Oh well…