Need help with this js challenge

Thats true it took very almost 4 days to understand what was actually going on in there