Can you solve this Christmas JS Coding Challenge?

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 11

  • @AnthonySistilli
    @AnthonySistilli  วันที่ผ่านมา

    Solve this problem & Join Scrimba's #Javascriptmas challenge! They're giving away a M3 Macbook Air, and so much more!!
    View my solution: scrimba.com/exercise-s0rpi92og7?via=AnthonySistilli
    Join the challenge:
    scrimba.com/javascriptmas-c0javascriptmas?via=AnthonySistilli

  • @kkMihai1337
    @kkMihai1337 19 ชั่วโมงที่ผ่านมา +5

    the investment put in this video is huge (christmas hat costs $5) 😱😱😱😱

  • @asagiai4965
    @asagiai4965 3 ชั่วโมงที่ผ่านมา

    Question can't javascript compare 😊 === 😊?
    Because technically we can just technically compare values from the hackedEmojis.
    Another way maybe is to compare Ascii if they have.
    Or am I wrong?

  • @TiebeVs
    @TiebeVs 13 ชั่วโมงที่ผ่านมา

    Congrats on 100k! I have been watching since one of the first portfolio reviews. Road to 200k

  • @boyangli9489
    @boyangli9489 นาทีที่ผ่านมา

    use replace with a function as argument, i create a new object for the replacement mapping:
    function emojifyWord(word) {
    return (emojiMapping[word] ??
    word.replace(/^:([a-z_]+):$/, (match, p1) => hackedEmojis[p1] ?? word));
    }
    function emojifyPhrase(phrase) {
    return phrase.replace(/([^\s]+)/g, (match, p1) => emojifyWord(p1));
    }

  • @keiv2004
    @keiv2004 18 ชั่วโมงที่ผ่านมา

    Well... if the phrase includes some double spaces between words this is not working (it will remove the extra spaces also) right?

  • @Adnan_Inspires_Official
    @Adnan_Inspires_Official 18 ชั่วโมงที่ผ่านมา

    Bro Is So Close To a 100k

  • @met-lh6sz
    @met-lh6sz 18 ชั่วโมงที่ผ่านมา

    hey bro, do you think AI will replace programmers in the next years? bc im not sure if i should get a degree

    • @moritz6526
      @moritz6526 17 ชั่วโมงที่ผ่านมา +1

      Try to setup an amplify gen2 app with chat-gpt, it will answer your question

    • @met-lh6sz
      @met-lh6sz 12 ชั่วโมงที่ผ่านมา

      @moritz6526 think of ai in the next 10 years

    • @AgoingFar
      @AgoingFar 10 ชั่วโมงที่ผ่านมา

      @@met-lh6sz ai isnt going to be able to reason/use logic in 10 years.(currently ai works by predicting the next word in its response via probability) If it somehow does then every job will be screwed and you'll probably end up dying to a robot.