From Shadows
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to JavaScript@programming.devEnglish · 3 months ago

Why does 1 + "1" equal "11" in JavaScript?

pzarycki.com

external-link
message-square
7
link
fedilink
10
external-link

Why does 1 + "1" equal "11" in JavaScript?

pzarycki.com

codeinabox@programming.dev to JavaScript@programming.devEnglish · 3 months ago
message-square
7
link
fedilink
and why is this a pitfall in production, and where did it come from in the first place?
  • RedSeries (she/her)@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    deleted by creator

JavaScript@programming.dev

javascript@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: !javascript@programming.dev
Visibility: Public
globe

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

  • 2 users / day
  • 13 users / week
  • 68 users / month
  • 271 users / 6 months
  • 1 local subscriber
  • 2.86K subscribers
  • 362 Posts
  • 437 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Ategon@programming.dev
  • nick@programming.dev
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org