• Macallan@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 days ago

    I got a 4/28 and got told I would have scored higher if I guessed at random. Ouch. (I am not a dev)

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      I mean, for what it’s worth, I’m a seasoned dev and just did a run where I tried to answer everything as it makes sense to me (which is “throws an error” or “invalid date” for all of them) and I also got a score of 4/28.

      …and two of those points were given to me, because the quiz interpreted my answer differently than I meant it.

      In other words, this quiz exists to highlight that JavaScript’s Date functions make no sense.