KDE Social
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@Gsus4@mander.xyz to Programmer Humor@programming.dev • 1 month ago

new Date("wtf")

jsdate.wtf

external-link
message-square
16
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • programming@programming.dev
217
external-link

new Date("wtf")

jsdate.wtf

@Gsus4@mander.xyz to Programmer Humor@programming.dev • 1 month ago
message-square
16
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
  • programming@programming.dev
How well do you know JavaScript's Date class?
alert-triangle
You must log in or register to comment.
  • chocrates
    link
    fedilink
    English
    44•1 month ago

    Hahahaha I hate it

  • @JohnnyCanuck@lemmy.ca
    link
    fedilink
    39•1 month ago
    Tap for spoiler

    Except for some reason “2” is interpreted as a month, and the year is set to 2001.

    I’m dead 😭 (and it just gets better from there)

    • @brisk@aussie.zone
      link
      fedilink
      8•1 month ago

      This is the one that broke me

  • @Gsus4@mander.xyzOP
    link
    fedilink
    28•1 month ago

    It’s like playing https://catmario.eu/

    • TJA!
      link
      fedilink
      2•1 month ago

      Ohh I haven’t seen this game for ages. I think I played this the last time about 15-20 years ago

  • @dan@upvote.au
    link
    fedilink
    26•
    edit-2
    1 month ago

    I’ve been using JS for a long time, and have worked on some date and time libraries, and only got 12/28. Wow there’s a lot of edge cases.

    • @zqwzzle@lemmy.ca
      link
      fedilink
      English
      17•
      edit-2
      1 month ago

      As a non JS dev 15/28 by asking myself “what is the the most non-intuitive/inconsistent behaviour for this API to have?” ¯\(ツ)/¯

  • dumnezero
    link
    fedilink
    English
    13•1 month ago

    I scored 10/28 on https://jsdate.wtf and all I got was this lousy text to share on social media.

    horrible

  • ggppjj
    link
    fedilink
    English
    13•1 month ago

    Question 9 broke me.

  • Sʏʟᴇɴᴄᴇ
    link
    fedilink
    10•1 month ago

    I use JS and TS semi-regularly and got 5/28 🤡

  • @fin@sh.itjust.works
    link
    fedilink
    10•1 month ago

    Absolutely crazy

    spoiler

  • @madcaesar@lemmy.world
    link
    fedilink
    7•1 month ago

    10/28 but a lot of it was guessing lol

    This is some bullshit right here!

  • @DeadPixel@lemmy.zip
    link
    fedilink
    5•1 month ago

    🤯

  • @HappyFrog@lemmy.blahaj.zone
    link
    fedilink
    4•1 month ago

    Ah yes… JS, the BS of the CW

  • ma1w4re
    link
    fedilink
    3•1 month ago

    13/28, last time I touched JavaScript was about 3 years ago. What a terrible language. Love it.

  • @InnerScientist@lemmy.world
    link
    fedilink
    2•1 month ago

    Thanks,

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
  • 1.16K users / day
  • 5.51K users / week
  • 9.33K users / month
  • 20.3K users / 6 months
  • 25.9K subscribers
  • 1.68K Posts
  • 62.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org