Lemmy.one
  • Communities
  • Create Post
  • 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
11
fedilink
33

JavaScript Pro Tip!

feddit.de

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

    It works the other way around as well

    • lemme@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      3
      ·
      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.

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

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

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

    Ahhh… javascript…

  • HoornseBakfiets@feddit.nl
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    deleted by creator

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

      NaN is actually a number in JavaScript

      • darcy@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        tbf its the floating point standards fault

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

    My favorite data type, ‘number’

  • drowned Phoenician@feddit.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    I never learned JavaScript and I can very happily say, I won’t need it for my career. Hopefully.

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

      No one escapes JavaScript. Your time will come

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: !programmerhumor@lemmy.ml

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.

  • 174 users / day
  • 1.35K users / week
  • 3.68K users / month
  • 8.78K users / 6 months
  • 440 local subscribers
  • 37.7K subscribers
  • 1.84K Posts
  • 39K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org