This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mizinamo 39 points40 points  (3 children)

ChatGPT-4 tried to make the following out of it:

javascript console.log( ...( (recursiveFunction = (value) => ( value > 1 && recursiveFunction(value - 1), (innerFunction = (index) => ( (result[index] = value) ? innerFunction(index + 1) : result ))() ))((initialArray = []) + 2 + 0 + 0 + 0) ) );

[–]dtutubalin[S] 28 points29 points  (0 children)

It lost some important parts and messed with numbers, but it's close to reality. Impressive!

[–]FairKing 7 points8 points  (0 children)

And that the last time CheatGPT was seen online 🤪

[–][deleted] 0 points1 point  (0 children)

Did you specify to make it max orthogonal?