this post was submitted on 14 Jun 2024
496 points (95.6% liked)

Programmer Humor

19315 readers
88 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] henfredemars@infosec.pub 49 points 3 months ago* (last edited 3 months ago) (19 children)

Missing type or identifier.

A const what?

Also, I read that you have to assign a const when it is declared. Something doesn’t feel right about this statement.

[–] Kaboom@reddthat.com 54 points 3 months ago (8 children)

Its javascript, itll just let you do that

[–] vithigar@lemmy.ca 40 points 3 months ago (2 children)

it'll just let you do that

Pretty much sums up JavaScript's entire philosophy.

[–] jaybone@lemmy.world 3 points 3 months ago

Let me just coalesce these types for you.

load more comments (5 replies)
load more comments (15 replies)