622
submitted 11 months ago by jroid8@lemmy.world to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] nigh7y@lemmy.ml 6 points 11 months ago

we can remove the return!

const fn = (a, b) => a || b
[-] nick@campfyre.nickwebster.dev 5 points 11 months ago
[-] nigh7y@lemmy.ml 3 points 11 months ago

Gotta love some peer review

load more comments (2 replies)
load more comments (2 replies)
this post was submitted on 08 Dec 2023
622 points (96.4% liked)

Programmer Humor

32490 readers
522 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS