sh.itjust.works
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
relevants@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years ago

JavaScript Pro Tip!

feddit.de

message-square
9
link
fedilink
44

JavaScript Pro Tip!

feddit.de

relevants@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
9
link
fedilink
alert-triangle
You must log in or register to comment.
  • LovelyCupcake@feddit.de
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    2 years ago

    It works the other way around as well

    • lemme
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Take my angry upvote!

  • Rega@lemmy.ml
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 years ago

    I had to check if that’s actually true. And yep, this is real.

  • HoornseBakfiets@feddit.nl
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    10 months ago

    deleted by creator

    • zekiz@lemmy.ml
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      2 years ago

      NaN is actually a number in JavaScript

      • darcy
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        tbf its the floating point standards fault

  • azalty@jlai.lu
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 years ago

    Ahhh… javascript…

  • Synthuir@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    My favorite data type, ‘number’

  • catacomb@beehaw.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years ago

    I’m going to be honest, this probably makes sense more than any other JavaScript operator quirk I’ve seen.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: [email protected]

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 182 users / day
  • 1.7K users / week
  • 3.35K users / month
  • 9.76K users / 6 months
  • 1.79K local subscribers
  • 36.5K subscribers
  • 1.75K Posts
  • 36.8K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org