Maps in javascript

Поділитися
Вставка
  • Опубліковано 3 лис 2024

КОМЕНТАРІ • 36

  • @HiteshCodeLab
    @HiteshCodeLab  4 роки тому +2

    Full course is FREE and will be available here
    courses.learncodeonline.in/learn/Complete-Javascript-course

    • @rbk.technology4747
      @rbk.technology4747 3 роки тому

      What's the difference between Objects and maps.
      As both does the same job basically.
      Storing key value pairs.
      Plz reply

    • @pranitchavan4549
      @pranitchavan4549 3 роки тому

      @@rbk.technology4747 Keys can be of any datatype in map whereas in object's keys are always strings.

    • @rbk.technology4747
      @rbk.technology4747 3 роки тому

      @@pranitchavan4549 oh thanks

    • @heatengine6058
      @heatengine6058 2 роки тому

      He hitesh, what about the other types of key in map?
      var map4 = new Map([
      [
      ["first name", "last name"],
      ["sumit", "ghosh"],
      ],
      [
      ["friend 1", "friend 2"],
      ["sourav", "gourav"],
      ],
      ]);

  • @eborne66
    @eborne66 3 роки тому +5

    You always answer questions right after I get them in my head...great work!

  • @iam_ck
    @iam_ck 4 роки тому +9

    Diff between map and object as both of them are storing key value expect the fact that kay can be of ant type in map

  • @saurabhkumarmishra6990
    @saurabhkumarmishra6990 4 роки тому +4

    Start of the day be like.. WATCH HITESH SIR'S VIDEO ON JS WITH CUP OF TEA 💐💐💐

  • @dakshamdev
    @dakshamdev 4 роки тому +1

    I was looking at this topic in MDN like nothing.
    Thanks Sir

  • @techiesrikanth2447
    @techiesrikanth2447 4 роки тому +1

    Thank you, Hitesh!

  • @NandWebDev
    @NandWebDev 4 роки тому +1

    Explain Call back function Sir.. Some people says that if we arrow function means where there is no need to call back... Still confusing lot.. Can u elaborate

  • @shankumondal2881
    @shankumondal2881 4 роки тому

    Awesome. You are really amazing regarding the way you teach

  • @creativeakshara8438
    @creativeakshara8438 4 роки тому +2

    Thanks 😊 sir
    Sir When is the meet up. I also Live in jaipur.

  • @sanketjori4186
    @sanketjori4186 4 роки тому +2

    Thank u sir for this course 🙌

  • @lineasdessertdiary
    @lineasdessertdiary 2 роки тому

    Thank you. A very clear explanation.

  • @hosseinpanahy5358
    @hosseinpanahy5358 Рік тому

    This was super practical sir

  • @siddharthmalviya419
    @siddharthmalviya419 3 роки тому

    one more thing to note here:
    for (const key of myMap){
    console.log(key)
    } // please note that I have taken a different examlpe here
    above code will give output
    [ 0, 'Siddharth' ]
    [ 1, 'Malviya' ]
    here we use destructing to store keys and values in different variable , for ex
    for(const [key, value] of myMap){
    console.log(`${key}: ${value)`);
    }

  • @ayushprakash3890
    @ayushprakash3890 3 роки тому

    hey @Hitesh Choudhary which JS extensions are you using ?

  • @helpsv5077
    @helpsv5077 3 роки тому

    Thanks! I got it! Nice video!

  • @Ravi-oh8xz
    @Ravi-oh8xz Рік тому

    Nicely explained

  • @RahulSharma-ke7wg
    @RahulSharma-ke7wg 3 роки тому

    Thank You

  • @kapilchoudhary196
    @kapilchoudhary196 4 роки тому +1

    Thank you sir

  • @Ga-sg5zj
    @Ga-sg5zj 3 роки тому

    Not broing .very nice explanation.

  • @bhuwansingh2534
    @bhuwansingh2534 3 роки тому

    Are those Green Day Album references? :)

  • @joetus13
    @joetus13 3 роки тому

    MDN says maps are objects im confused

  • @TheTabishnadeem
    @TheTabishnadeem 4 роки тому

    Quite similar to Java!!

  • @travelwsamad
    @travelwsamad 4 роки тому

    SIr if map is not an object what is it then?

  • @dhananjayapattnaik7428
    @dhananjayapattnaik7428 4 роки тому

    One question always strike on my mind.. can we survive in industry as a mern developer for upcoming 20yr??plz reply

    • @siddarth1346
      @siddarth1346 4 роки тому

      Are you going to stay a mern dev for the next 20 years and never learn anything else?

    • @dhananjayapattnaik7428
      @dhananjayapattnaik7428 4 роки тому

      @@siddarth1346 IT means we have to learn trending technology.but what I am thinking is after getting some hands on experience I will leave job and want to startup my own startup and freelance.so I am asking this question..

  • @mowabro227
    @mowabro227 Рік тому

    thanks!!

  • @vraj3115
    @vraj3115 4 роки тому

    #10minutesJS day 48!

  • @subhamsatyakammohanty6
    @subhamsatyakammohanty6 4 роки тому

    Thanks sir

  • @shahrukhshah3572
    @shahrukhshah3572 4 роки тому

    How to search for a number or string or a boolean value from an array and print it, can anyone help.?
    const arr=['John' , 23 , true]

  • @sivasai6890
    @sivasai6890 4 роки тому

    Apart from JS you taught us some Spanish also sir ❤

  • @becool007
    @becool007 2 роки тому

    come on yaar kuch interesting contents banao jaise ki ye kyu aur kab use karte hai, iski zroorat kyu padi, yeh na hota toh kya problems face krni padti, etc
    ye basic use ke baare me to 100,s of articles and vdos milenge,
    so kuch hatke banao...