r/ProgrammerHumor • • Mar 20 '24

Meme areJSDevsActuallySane

Post image
14k Upvotes

554 comments sorted by

View all comments

Show parent comment

1

u/Exaskryz Mar 21 '24

Weird, I'm no expert but bottom half of OP makes perfect sense.

2

u/thirdegree Violet security clearance Mar 21 '24

That's the trick, it always makes sense once it's explained. How long would it take you to reason towards that explanation on your own? You'd need to know how objects are coerced to string and how square brackets work in regex. And where to start looking.

And like I'm a big advocate for basic regex competency, which I do feel this falls under. But also in my experience most devs don't have basic regex competency.

0

u/Exaskryz Mar 21 '24

For how much my console logs [object Object], it honestly may have clicked.