this post was submitted on 20 Jul 2025
670 points (99.0% liked)

HistoryPorn

7097 readers
88 users here now

If you would like to become a mod in this community, kindly PM the mod.

HistoryPorn is for photographs (or, if it can be found, film) of the past, recent or distant! Give us a little snapshot of history!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Foster a continuous learning environment.
  4. No genocide or atrocity denialism.

Pictures of old artifacts and museum pieces should go to History Artifacts

Illustrations and paintings should go to History Illustrations

Related Communities:

Military Porn

Forgotten Weapons

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] JackLSauce@lemmy.world 31 points 2 weeks ago (2 children)

And we've been trying to find a more concise isEven function ever since

[–] axEl7fB5@lemmy.cafe 3 points 2 weeks ago* (last edited 2 weeks ago) (1 children)
function isEven(number) {
  return number % 2 === 0;
}

Dunno about making it "concise" but you can shorten the name of the function and the parameter and maybe use == instead of ===

[–] PlexSheep 4 points 2 weeks ago