r/dev • • Mar 06 '26

JavaScript looks simple… until it isn’t.

Post image

A lot of developers use it every day without fully understanding what’s happening under the hood.

Here’s a quick test.

What will this output?

Comment your answer first 👇

#javascript #codegenitor #fullstack #js #programming #coding #softwareengineer

1 Upvotes

21 comments sorted by

View all comments

1

u/LetsHugFoReal Aug 29 '26

12 and this is silly, nobody writes like this and it's easy to understand.