Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
kuneho@lemmy.world to Programmer Humor@programming.dev ·
edit-2
2年前

JavaScript always know my truest of desires

lemmy.world

message-square
37
fedilink
437

JavaScript always know my truest of desires

lemmy.world

kuneho@lemmy.world to Programmer Humor@programming.dev ·
edit-2
2年前
message-square
37
fedilink

  • heartlessevil
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2年前

    deleted by creator

    • Rikudou_Sage@lemmings.world
      link
      fedilink
      English
      arrow-up
      32
      ·
      2年前

      It does.

    • Quasari@programming.dev
      cake
      link
      fedilink
      arrow-up
      21
      ·
      edit-2
      2年前

      Array.prototype.sort if no callback is passed to it will coerce non-undefined elements to strings when sorting. It does do that.

      To sort numbers passing a function like (a, b) => a - b is good enough.

      • stratoscaster@lemmy.zip
        link
        fedilink
        arrow-up
        17
        ·
        2年前

        Fuck JS is stupid.

        Source: use JS regularly

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 974 users / day
  • 4.95K users / week
  • 9.97K users / month
  • 18.8K users / 6 months
  • 197 local subscribers
  • 24.2K subscribers
  • 1.51K Posts
  • 55.7K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org