Orbi Camp
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
tfm@europe.pub to Programmer Humor@lemmy.ml · 20 hours ago

JavaScript is awesome

jsdate.wtf

external-link
message-square
20
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
119
external-link

JavaScript is awesome

jsdate.wtf

tfm@europe.pub to Programmer Humor@lemmy.ml · 20 hours ago
message-square
20
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
new Date("wtf")
jsdate.wtf
external-link
How well do you know JavaScript's Date class?

cross-posted from: https://programming.dev/post/33754840

new Date(“wtf”)

  • blaue_Fledermaus@mstdn.io
    link
    fedilink
    arrow-up
    10
    ·
    18 hours ago

    Parsing user input? Nonsense data coming from an API?

    • pixely@lemmy.world
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      edit-2
      17 hours ago

      If you’re expecting shit data then you’d have unit tests for those cases so you’d know what to expect.

      • WildPalmTree@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        14 hours ago

        Maybe you don’t expect shit data; you just get it. I know, always expect it…

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.

  • 444 users / day
  • 835 users / week
  • 2.79K users / month
  • 9.87K users / 6 months
  • 1 local subscriber
  • 37.2K subscribers
  • 762 Posts
  • 4.48K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org