ex-FAANG Developer vs "Hardest" JavaScript Quiz

Sdílet
Vložit
  • čas přidán 7. 06. 2024
  • How well do I know JavaScript? Let's try to find out with this seemingly impossibly hard JS quiz!
    JavaScript Is Weird Quiz: jsisweird.com/
    Prepping for your frontend interviews? Use code "conner" for a discount on my product FrontendExpert:
    www.frontendexpert.io/conner
    🎬 TikTok: / connerardman
    💼 LinkedIn: / connerardman
    💻 Video/Coding Gear (affiliate): www.amazon.com/shop/connerardman
    Business/brands 👉 youtube@connerardman.com
  • Věda a technologie

Komentáře • 58

  • @SebastianMares
    @SebastianMares Před 18 dny +104

    Yeah, “we” did pretty well. I am proud of “us”.

    • @_RG99_
      @_RG99_ Před 15 dny +2

      I carried y'all did nothing fr fr

  • @GregHogg
    @GregHogg Před 18 dny +74

    Answer to Question 8 is wild

    • @NoName-1337
      @NoName-1337 Před 18 dny +5

      parseInt takes only strings, so it parses the parameter (number) to a string in the first place and then the actual function can parse the string to an int.

    • @hundvd_7
      @hundvd_7 Před 17 dny +1

      I really don't think it is.
      You pass a float to a parseInt function. Of course shenanigans are gonna happen

    • @ittixen
      @ittixen Před 16 dny

      Passing the wrong type of value as an argument may be a mistake but so is inexplicably converting numbers to strings in a different format all of a sudden after an arbitrary threshold.

    • @TheRealMangoDev
      @TheRealMangoDev Před 14 dny

      8 is ez

    • @TheRealMangoDev
      @TheRealMangoDev Před 14 dny

      obviusly 5

  • @michaldivismusic
    @michaldivismusic Před 18 dny +41

    "JS is weird"... What an understatement 😂

  • @swapnil_tech
    @swapnil_tech Před 18 dny +22

    23/25 is madd impressive !

  • @rafaeldeleon3386
    @rafaeldeleon3386 Před 16 dny +9

    If I saw someone write any of this code in production, I would request they be fired... immediately.

  • @OmarAtri
    @OmarAtri Před 18 dny +8

    I don't think the ECMAScript team would do in this quiz better than you did haha I'm sure you know JS better than they do haha
    You're the JS master ✌
    JavaScript quizzes are really fun, I'd appreciate more videos like this

    • @ConnerArdman
      @ConnerArdman  Před 18 dny +2

      Haha I’m sure some of them would do better… probably 😂

  • @boomba118
    @boomba118 Před 17 dny +8

    love the "I give up" option in the last question 🤣 even the person who made this quiz knew at that point, most ppl would not be bothered anymore, js is weird 😅

  • @jagicyooo2007
    @jagicyooo2007 Před 17 dny +4

    we have a JS expert in the house!

  • @webapplicationsengineer
    @webapplicationsengineer Před 18 dny +5

    I mean, its JavaScript being JavaScript 😂❤

  • @srdjagunjic
    @srdjagunjic Před 18 dny +1

    Amazing results!

  • @VaurionX
    @VaurionX Před 17 dny +3

    Very impressive. I was shocked at how many you got right.

  • @Brad_Script
    @Brad_Script Před 16 dny +2

    do not use parseInt and parseFloat with numbers. They take string as argument. Getting weird results with numbers is expected. If you want to convert a float to an integer, use Math.round, Math.trunc, Math.ceil or Math.floor

  • @CottidaeSEA
    @CottidaeSEA Před 18 dny +2

    I knew the answers to the ones you got wrong, but I would've struggled with the type conversion arithmetic.

  • @NoName-1337
    @NoName-1337 Před 18 dny

    Great quiz. I did some mistakes and learned a lot. Thank you.

  • @QwDragon
    @QwDragon Před 15 dny

    I got 24/25 - forgot about scientific notation for parseInt. Actually even if i think about it, I don't know how many zeroes needed to get it.

  • @InfernalLegion84
    @InfernalLegion84 Před 12 dny

    My favorite is that type of NaN is number :D But it makes perfect sense if you think about it

  • @HippityhoppityGnW
    @HippityhoppityGnW Před 14 dny

    I took this quiz while looking for the other one you did. I got question 8 without knowing what parseInt even did… needless to say, I did not do well on that quiz. When I saw the explanation, I stared at my monitor for like 1 minute.

  • @nomadshiba
    @nomadshiba Před 16 dny +1

    2:42 bro parseint takes a string

  • @cIappo896
    @cIappo896 Před 18 dny +1

    I got 17, somehow. Cool stuff

  • @StandaBlabol
    @StandaBlabol Před 16 dny

    I am Java developer forced to use JS for some minor stuff.
    And my impression is that JS design is based on fentanyl.
    But frankly TS is acceptable.

  • @williamseipp9691
    @williamseipp9691 Před 16 dny

    godamn this is wacky. I can't imagine debugging that. I haven't done js yet but am I going to be explicit as hell.

  • @lenny4539
    @lenny4539 Před 17 dny +2

    My brain hurts.

  • @Voidstroyer
    @Voidstroyer Před 17 dny

    I did the test before watching the video. Got 11/25. I will now commit coding seppuku!!!

  • @strategistaow3520
    @strategistaow3520 Před 18 dny

    Where did you learned that js converters and so

    • @ConnerArdman
      @ConnerArdman  Před 18 dny +2

      I had to read through all the docs when I was making a course a while back. Otherwise I wouldn’t know them haha

  • @amixengineer
    @amixengineer Před 16 dny +1

    It was very informative thanks Conner 🙌

  • @espertalhao041
    @espertalhao041 Před 16 dny

    There's a test case that the website is missing: false == [].
    There is !![], but that doesn't cover all the weirdness.

    • @moveonvillain1080
      @moveonvillain1080 Před 16 dny

      This is false right? Empty array is truthy

    • @QwDragon
      @QwDragon Před 15 dny +1

      @@moveonvillain1080 false == [] is true. [] is converted to empty string that is converted to zero. False is zero too. So 0 == 0 which is true.

    • @espertalhao041
      @espertalhao041 Před 15 dny

      @@moveonvillain1080 Try it for yourself, on the console.
      Both will be true, which means, an empty array is truthy and falsy, depending on how you test it.

  • @amir650
    @amir650 Před 16 dny

    why is any string that is *not* empty 'considered truthy', but an empty list was shown to also be truthy.

    • @velvetsycap6351
      @velvetsycap6351 Před 15 dny +1

      Because an array is an object. The memory address holds an object which is something, which is truthy. An empty string is technically an array aswell but it’s more primitive than an array, so an empty string is more falsely

  • @MagnumCarta
    @MagnumCarta Před 17 dny

    I have no idea how I'd do but I would certainly get less than 23.

  • @ryiv1848
    @ryiv1848 Před 11 dny +1

    See? Even smart people make mistakes, so don't be too hard on yourself😊💙

  • @timchen8512
    @timchen8512 Před 18 dny

    Amazing results 😂
    Js is really a joke.
    😂😂😂

  • @JawaCodePro
    @JawaCodePro Před 18 dny

    Hello

  • @pauloeduardo1461
    @pauloeduardo1461 Před 16 dny

    Prewatched 😅

  • @Macpherson1st1
    @Macpherson1st1 Před 16 dny

    JavaScript is weird. Super weird.

  • @ghattassalloum9908
    @ghattassalloum9908 Před 17 dny

    man that's hard I got 14

  • @listener8228
    @listener8228 Před 16 dny +1

    Bro who invented JavaScript 💀💀

  • @Endrit719
    @Endrit719 Před 6 dny

    I got 0/25

  • @Presenter2
    @Presenter2 Před 12 dny

    I think I'll never will try JS after this video...