#33 Maps and Weak Maps | JavaScript Full Tutorial

Sdílet
Vložit
  • čas přidán 5. 09. 2024
  • 🙂 SUBSCRIBE - hit the bell 🔔 and choose all: goo.gl/nYLZvz
    In this lesson we're going to be learning all about Maps and Weak Maps. Maps are basically a collection of key data items, similar to an Object. The main difference between a Map and an object is that a Map allows keys of any type. In this lesson we learn about how to create and use Maps.
    ------------------
    👍 HTML FULL TUTORIAL: shorturl.at/fiCMV
    👍 CSS FULL TUTORIAL: shorturl.at/clGSZ
    ------------------
    FACEBOOK: / devdreamercode
    TWITTER: / devdreamercode
    SUBSCRIBE and hit the BELL NOTIFICATION 🔔: goo.gl/nYLZvz
    ------------------
    Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)

Komentáře • 20

  • @aleksanderdorkov5312
    @aleksanderdorkov5312 Před 3 lety +2

    This channel deserves more views, I see all of this garbage tutorials, where for 20 min they say nothing, but get 100k views, because they farmed more subs

    • @DevDreamer
      @DevDreamer  Před 3 lety

      Hey Aleksander, thank you so much. I appreciate the support 🙂👍

  • @SvetaSveta-ms4hi
    @SvetaSveta-ms4hi Před 2 lety +5

    I can't thank you enough for exerting a lot of effort to make such an absolutely incredible tutorial. You truly have a knack for explaining things in a way that everybody can wrap their head around pretty complex stuff. Thanks a bunch! 🙏

  • @rasjohse
    @rasjohse Před 3 lety +2

    Brother greetings from Venezuela, I agree with most of the comments, excellent content and I hope you can finish the tutorial. Successes

  • @not.sardar
    @not.sardar Před 3 měsíci

    Very helpful, thank you sir!!

  • @whatthefunction9140
    @whatthefunction9140 Před 3 lety +3

    what is a use case for a weak map?

  • @creatingwithcode1630
    @creatingwithcode1630 Před 3 lety +2

    Amazing content Amit! Thank you for these excellent lessons.

    • @DevDreamer
      @DevDreamer  Před 3 lety

      Hey brother! Thank you so much 🙂 👍

  • @xeit0
    @xeit0 Před rokem

    There's one important detail missing, WeakMaps allow for garbage collection, meaning if a key is no longer in use it will be, well, garbage collected. This is the main use case since Maps aren't subject to garbage collection.

  • @stumbleguysproboy8471
    @stumbleguysproboy8471 Před 3 lety +1

    Your tutorials are great

  • @bikrantjungbudhathoki3687

    Hey dev dreamer. I have one question, If i have many buttons that performs same function onclick, then how do I select those all buttons in one variable? those buttons have their own ID.

    • @DevDreamer
      @DevDreamer  Před 3 lety +1

      Hey Bikrant, thank you for watching 🙂 You want to give each of those buttons the same class name, and then use getElementsByClassName:
      let x = document.getElementsByClassName("example");

  • @hammadahmad5383
    @hammadahmad5383 Před 3 lety +1

    Clear and precise explanation 😍😊, which font family are you using...I really like it😊😊

  • @gokulkrishna9264
    @gokulkrishna9264 Před 2 lety

    Awesome

  • @TechnicalARK
    @TechnicalARK Před 3 lety

    Waiting for next video

  • @dilip8496
    @dilip8496 Před 3 lety

    Hi. Dev dreamer please upload nest video of javascript tutorial

  • @TechnicalARK
    @TechnicalARK Před 3 lety

    waiting for next video

  • @bikrantjungbudhathoki3687

    Where are you! You haven't uploaded any more videos???

  • @Yatin2444
    @Yatin2444 Před 2 lety

    better than the paid course..