Boing Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Gsus4@mander.xyz to Programmer Humor@programming.dev · 28 days ago

new Date("wtf")

jsdate.wtf

external-link
message-square
10
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
29
external-link

new Date("wtf")

jsdate.wtf

Gsus4@mander.xyz to Programmer Humor@programming.dev · 28 days ago
message-square
10
link
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
How well do you know JavaScript's Date class?
alert-triangle
You must log in or # to comment.
  • JohnnyCanuck@lemmy.ca
    link
    fedilink
    arrow-up
    9
    ·
    28 days 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
      arrow-up
      3
      ·
      27 days ago

      This is the one that broke me

  • chocrates@piefed.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    28 days ago

    Hahahaha I hate it

  • dan@upvote.au
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    28 days 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
      arrow-up
      6
      ·
      edit-2
      27 days 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?” ¯\(ツ)/¯

  • fin@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    27 days ago

    Absolutely crazy

    spoiler

  • Sʏʟᴇɴᴄᴇ@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    28 days ago

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

  • dumnezero@piefed.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    28 days ago

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

    horrible

  • DeadPixel@lemmy.zip
    link
    fedilink
    arrow-up
    1
    ·
    28 days ago

    🤯

  • madcaesar@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    27 days ago

    10/28 but a lot of it was guessing lol

    This is some bullshit right here!

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: [email protected]

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
Visibility: Public
globe

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

  • 285 users / day
  • 4.6K users / week
  • 8.23K users / month
  • 14.4K users / 6 months
  • 1 local subscriber
  • 25.6K subscribers
  • 718 Posts
  • 10.9K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org