szmer
  • 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
12
fedilink
34

JavaScript Pro Tip!

feddit.de

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

    It works the other way around as well

    • lemme@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 years ago

      Take my angry upvote!

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

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

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

    Ahhh… javascript…

  • 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.

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

    deleted by creator

    • zekiz@lemmy.ml
      link
      fedilink
      English
      arrow-up
      2
      ·
      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
    1
    ·
    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

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

    As someone who only had very peripheral contact with JavaScript I can’t tell if this is real and that is really the beauty (/s) of this language

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.

  • 806 users / day
  • 1.3K users / week
  • 2.9K users / month
  • 9.27K users / 6 months
  • 40 local subscribers
  • 37.2K subscribers
  • 1.92K Posts
  • 37.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org