CringeCollective
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 2 years ago

parseInt(5)

lemmy.ml

message-square
65
fedilink
501

parseInt(5)

lemmy.ml

@OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev • 2 years ago
message-square
65
fedilink
  • @spizzat2@lemm.ee
    link
    fedilink
    31•
    edit-2
    2 years ago

    And to further expand on that, if you do pass in a sting string, it handles it correctly.

    > parseInt('0.0000005')
    
    0
    
    • @SpaceNoodle@lemmy.world
      link
      fedilink
      18•
      edit-2
      2 years ago

      What if I pass in a Stewart Copeland?

      • @spizzat2@lemm.ee
        link
        fedilink
        9•2 years ago

        😆 I’ll be watching you…

      • Colonel Panic
        link
        fedilink
        3•2 years ago

        or a Honda civic

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
  • 1.52K users / day
  • 4.92K users / week
  • 9.24K users / month
  • 16.5K users / 6 months
  • 34K subscribers
  • 2.44K Posts
  • 85.1K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org