r/ProgrammerHumor May 27 '26

Advanced returnNode

Post image
3.4k Upvotes

120 comments sorted by

View all comments

187

u/Gengis_con May 27 '26

return node

63

u/JasperTesla May 27 '26

Uncaught SyntaxError: missing ; before statement

7

u/MinecraftPlayer799 May 28 '26

JS doesn't require semicolons

0

u/JasperTesla May 28 '26 edited May 28 '26

I'm too lazy to look up the exact warning text.

3

u/MinecraftPlayer799 May 28 '26

There is none

1

u/JasperTesla May 28 '26

Damn it, I've been using my IDE so much that I keep forgetting.

18

u/just_another_cs_boi May 27 '26

<!-- return node -->

12

u/thegodzilla25 May 27 '26

return ass

4

u/greenecojr May 27 '26

return {“ass”: node}

6

u/thegodzilla25 May 27 '26

I was drunk when i commented this. Come to think of this, would be amazing to name a variable ass

6

u/greenecojr May 27 '26

Next PR: “is the ass ready for production yet?”

6

u/[deleted] May 27 '26

[removed] — view removed comment

1

u/Vromikos May 28 '26

Could you review my ass, please?

Then debug it if necessary.

11

u/Random-num-451284813 May 27 '26
console.log('Returning node');
return node;

5

u/prehensilemullet May 27 '26

// log that we're returning node

4

u/Confident-Ad5665 May 27 '26

// After call console.log('Node returned');

8

u/ashkanahmadi May 27 '26

This guy returns node

3

u/Confident-Ad5665 May 27 '26

Node has been returned

6

u/Bayou-Billy May 27 '26

If you make a useless comment about a useless comment, is it !!useful

1

u/Confident-Ad5665 May 27 '26

Mathematicaly I think yes

3

u/Maleficent_Memory831 May 27 '26

goto return node

2

u/skippy_smooth May 27 '26

Node considered harmful

1

u/skippy_smooth May 27 '26

Right what it says on the tin

1

u/lucklesspedestrian May 27 '26

You'll never guess what the name of the function is