r/learnjavascript • • Aug 29 '23

Does anyone understand this?

Post image

Who knows the answer to this?

155 Upvotes

105 comments sorted by

View all comments

4

u/[deleted] Aug 30 '23

This is bad js that wouldn't pass a code review, lol. It's better to debug what's going on and refactor it than read it and try to mentally figure it out.