map Array Method | JavaScript Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 янв 2025

Комментарии • 76

  • @FlorinPop
    @FlorinPop  4 года назад +4

    Check out the other videos in the JavaScript Array Methods series: ruclips.net/p/PLgBH1CvjOA62PBFIDq55-S6Beivje30A2

  • @sandaminisakunika6760
    @sandaminisakunika6760 4 года назад +8

    Quick and clear to the dot.. Thanx a lot !! Gotta go and practice now..

  • @6uiltas1
    @6uiltas1 Год назад +3

    Thank you for this video because it explains clearly what each parameter does. For example, you left the (value, index, arr) in the double function even though this function might only use the index or the value. As a beginner, I need consistency; maybe I will only use the necessary parameters as I get more comfortable.

  • @myrinaDM
    @myrinaDM 3 года назад

    Finally I understood what map Array means, and how it works ... Thank you, thank you very much Florin!

  • @borozynets
    @borozynets 4 года назад +1

    I learn javascript while looking your tutorials
    and english while listening you and translate unknown words. Great that your pronounce is good
    profit :D

  • @alfonsoramirezelorriaga1153
    @alfonsoramirezelorriaga1153 4 года назад +1

    You deserve more likes and suscriptions. Thank you

  • @conhecimento.lendarioo
    @conhecimento.lendarioo 3 года назад

    You make me understand array methods, thank you guy.
    Your way of teach are fantastic.

  • @apaarjain
    @apaarjain 5 месяцев назад

    these lessons are amazing.

  • @MrRafael1912
    @MrRafael1912 4 года назад +5

    This was amazing! Please do more higher order function explanations

    • @FlorinPop
      @FlorinPop  4 года назад

      I’ll have them all on my channel by tomorrow 😄

  • @aisacf10
    @aisacf10 4 года назад +2

    Good, clear and concise explanation!

    • @FlorinPop
      @FlorinPop  4 года назад

      I’m glad you like it

  • @bama2619
    @bama2619 Год назад

    Thank you, great playing with object properties, there is nice practical value in the exercise.

  • @reedreal
    @reedreal 4 года назад +7

    I like your tutorials. They are clear and beginner-friendly.

  • @marulasiddumr9596
    @marulasiddumr9596 4 года назад +2

    const str_numbers = ["21", "32", "45", "76", 34, 56, "78"];
    const int_numbers = str_numbers.map(item=> parseInt(item));
    console.log(int_numbers); /// we can also use parseInt to convert str to int
    const new_str_numbers = int_numbers.map(item => item.toString());
    console.log(new_str_numbers) /// can also convert int to str using toString() method

  • @AngelMartinez-ge2gs
    @AngelMartinez-ge2gs 2 года назад

    Thank you so much. Especially that last example. I had a coding problem that was a little tough but you just made it 10x easier.

    • @FlorinPop
      @FlorinPop  2 года назад +1

      Very glad to hear that! 😇

  • @alli1115
    @alli1115 Год назад

    So clear and helpful, thank you! I like how you began with a really simple example, it helped me keep up and catch on.

  • @nguyetha1321
    @nguyetha1321 Год назад

    A very good teacher , love you .

  • @justinxten4real657
    @justinxten4real657 3 года назад

    just found your tutorials and you may very much be the Goat #subbed

    • @FlorinPop
      @FlorinPop  3 года назад

      Thank you, but I’m far from being it 😄

  • @northroadian8472
    @northroadian8472 4 года назад

    Your explanations are amazing best explanation I have seen yet. this was really easy to grasp I was foggy on map before this video.

  • @snakemanluffy7645
    @snakemanluffy7645 4 года назад +1

    Great video.. specially the practical examples are very helpful..tnx

  • @kristijanlazarev
    @kristijanlazarev Год назад

    Simple and made a lot of sense, thanks Florin. Also i know you from Traversy's 50 JS projects course he mentioned you.

    • @FlorinPop
      @FlorinPop  Год назад

      Happy you enjoyed it 😃

  • @frustrabe
    @frustrabe 2 года назад

    thank you for the explanation, your video was the turning point for me. cheers!

    • @FlorinPop
      @FlorinPop  2 года назад

      Really happy it helped!

  • @CodeandDream
    @CodeandDream 3 года назад

    I'm going to need this for JS revision for sure 🤩🤩🤩

  • @idowumicheal1761
    @idowumicheal1761 8 месяцев назад

    Thanks this was helpful❤

    • @FlorinPop
      @FlorinPop  8 месяцев назад

      Glad it was helpful!

  • @xstrafez_c2017
    @xstrafez_c2017 4 года назад +1

    Very good examples c:

  • @ousseynounabalma5092
    @ousseynounabalma5092 2 года назад

    Thanks. Like the simple and useful ways you explain concepts for beginners...

  • @denyslinetskyi
    @denyslinetskyi 2 года назад

    You are easily explain! Thank you!)

  • @xontros99
    @xontros99 4 года назад

    really helpful video! thanks also for explaining index :)

  • @ashik620
    @ashik620 4 года назад

    your tutorial is so much helpful
    Make more tutorial

  • @sibeleira
    @sibeleira 4 года назад

    Great tutorials, thanks!

  • @persenbp4160
    @persenbp4160 3 года назад

    thank you Florin Pop!

  • @republicofchina8872
    @republicofchina8872 4 года назад +1

    good job with the video ;)

  • @akengestudios5394
    @akengestudios5394 4 года назад +1

    Thanks a lot bro, great help

  • @overstrides
    @overstrides 4 года назад

    Thank you for the great video!

  • @imdynamicxd
    @imdynamicxd 3 года назад +1

    how do you make the code execute in the terminal at the next second? i always do node . everytime when i updated my code ._.

  • @internetcafe7203
    @internetcafe7203 4 года назад

    Thanks Awesome tutorial Florin.. 😊
    How to print value in DOM???

  • @mohammedthetechno2442
    @mohammedthetechno2442 3 года назад

    thank you

  • @mi5956
    @mi5956 4 года назад +1

    could you please let know how to enable the node js terminal to display the console.log. thanks

    • @FlorinPop
      @FlorinPop  4 года назад +1

      I’m preparing a video about that. Will post soon

    • @mi5956
      @mi5956 4 года назад

      Florin Pop thank you very much, I will be waiting for the video. currently I am using google chrome console and its really pain when studying. Really appreciated

  • @siddharthmishra8651
    @siddharthmishra8651 2 года назад

    Got introduced to REST API! #learnbydoing

  • @Codehood
    @Codehood 4 года назад +1

    May I know how you run code in the vs code terminal?

    • @FlorinPop
      @FlorinPop  4 года назад +1

      With nodemon

    • @Codehood
      @Codehood 4 года назад

      @@FlorinPop thank you

    • @Codehood
      @Codehood 4 года назад

      @@FlorinPop ok but how you make nidemon not always prefix with the silly [nodemon] and other msgs of restarting

  • @nxuanthanhf
    @nxuanthanhf 3 года назад

    Hello guy! How to clean the terminal look like that ?

  • @parth3587
    @parth3587 9 месяцев назад

    create a full javascript searies bro your video is is such a great.but create video with this method as you apply in this video.

  • @MrWaesh
    @MrWaesh Год назад

    How are you running js in terminal like this? Looks like you are using node as a shell. Plz tell me how.

  • @moodyshah007
    @moodyshah007 Год назад

    Thankyou

  • @ChandramolPandey
    @ChandramolPandey Год назад

    If I will purchase your course is there someone to guide or talk about query or solution ?

  • @bahiaanis331
    @bahiaanis331 4 года назад

    hello can you please explain how can i use terminal in this way

    • @FlorinPop
      @FlorinPop  4 года назад +1

      I made a video about that a while ago after the JS array series, check it out on my channel.

    • @bahiaanis331
      @bahiaanis331 4 года назад

      @@FlorinPop thank you so much i really appreciate keep your great job

  • @NabeelButt
    @NabeelButt Год назад

    var totalprodsvalue = products.map(item => ({
    name: item.name,
    Total: item.price * item.count
    }));

    document.write(totalprodsvalue);
    I tried to follow the same code but It prints [object, object]. Did i miss something?

    • @maheshshirsat9075
      @maheshshirsat9075 11 месяцев назад

      remove banana bracjet in arrow function

    • @VK55837
      @VK55837 8 месяцев назад +1

      First of all - Please stop using "var", change it to "const" (in this case).
      The issue with this code is that "totalprodsvalue" is an array of objects, and when you try to log it directly using document.write or console.log, it will be displayed as [object Object],[object Object],[object Object],[object Object],[object Object], which doesn't provide useful information.
      To fix this, you need to iterate over "totalprodsvalue" and log each object's properties individually, or use console.table() to display the array of objects in a tabular format.

  • @antoniosalzano5253
    @antoniosalzano5253 4 года назад

    map vs forEach?

    • @techworth400
      @techworth400 4 года назад

      Map returns an array whereas forEach don't

  • @ralu3623
    @ralu3623 Месяц назад

    nu inteleg

  • @aaronargottelopez3488
    @aaronargottelopez3488 4 года назад

  • @sandryeyev
    @sandryeyev 4 года назад

    Good Tutorial! Thanks!

  • @siddharthmishra8651
    @siddharthmishra8651 2 года назад

    Got introduced to REST API! #learnbydoing