kuuhana
  • Communities
  • Multi-communities
  • Support Lemmy
  • Search
  • Login
  • Sign Up
Programmer Humor@programming.devbyGsus4@mander.xyz
1 year

new Date("wtf")

jsdate.wtf
16
    How well do you know JavaScript's Date class?
    You must log in or register to comment.

    • chocrates@piefed.worldEnglish
      1 year

      Hahahaha I hate it

      • JohnnyCanuck@lemmy.ca
        1 year
        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
            11 months

            This is the one that broke me

          • Gsus4@mander.xyz
            1 year

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

              • TJA!@sh.itjust.works
                11 months

                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
                1 year

                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.caEnglish
                    11 months

                    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@piefed.socialEnglish
                    11 months

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

                    horrible

                    • ggppjj@lemmy.worldEnglish
                      1 year

                      Question 9 broke me.

                      • fin@sh.itjust.works
                        11 months

                        Absolutely crazy

                        spoiler

                        • Sʏʟᴇɴᴄᴇ@lemmy.dbzer0.com
                          11 months

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

                          • madcaesar@lemmy.world
                            11 months

                            10/28 but a lot of it was guessing lol

                            This is some bullshit right here!

                            • DeadPixel@lemmy.zip
                              1 year

                              🤯

                              • HappyFrog@lemmy.blahaj.zone
                                1 year

                                Ah yes… JS, the BS of the CW

                                • ma1w4re@lemmy.zip
                                  11 months

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

                                  • InnerScientist@lemmy.world
                                    11 months

                                    Thanks,

                                    Programmer Humor@programming.dev

                                    programmer_humor@programming.dev

                                    Subscribe from remote instance

                                    Create post

                                    Report community

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

                                    This community is visible to everyone.

                                    • 51 users / Day
                                    • 262 users / Week
                                    • 276 users / Month
                                    • 14.5K users / 6 months
                                    • 2.33K posts
                                    • 89.8K comments
                                    • 2 local subscribers
                                    • 31.9K subscribers
                                    • UI: 1.0.0-beta.0
                                    • BE: 1.0.0-alpha.20
                                    • Modlog
                                    • Instances
                                    • Docs
                                    • Code
                                    • join-lemmy.org