Javascript Iterators tutorial

Поділитися
Вставка

КОМЕНТАРІ • 74

  • @maciejc3169
    @maciejc3169 8 років тому +16

    You definitely provide the most valuable and clear tutorials about javascript advanced techniques and issues.
    Thanks a lot for your work :)
    Cheers

  • @stanna23
    @stanna23 7 років тому +1

    I spent about two hours trying to get my head around this. In the first 2 mins exactly, I understand what and how they are used. YOU SIR ARE SERIOUSLY AWESOME! THANK YOU SO MUCH!

  • @ayikkathilkarthik4312
    @ayikkathilkarthik4312 3 роки тому +1

    Crystal clear explanation.

  • @ivofrancisco357
    @ivofrancisco357 7 років тому +5

    This a bit too much for a newbie like me. But from what I have seen so far you're are the best... Thank you!

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

    clear and precise explanation to iterators. Many thanks

  • @soumyaranjanpanda7532
    @soumyaranjanpanda7532 2 роки тому +1

    Thank you sir for making JS concepts easy to understand for everyone 🙂

  • @msd3963
    @msd3963 6 років тому +1

    Your explanation is alway easy to understand.
    I appreciated much.
    Thank you sir.

  • @blackness4954
    @blackness4954 7 років тому

    I thought I knew ES6 already and just played this video since you're fun to watch.
    I'm amazed. Thanks, I had no idea the for...of loop had such complexity underneath. I'm going to watch your videos more often hereon.

  • @vivekambasta7358
    @vivekambasta7358 6 років тому

    These turorials by techSith are really very helpful for newbies... Highly Recommended .. Please keep adding more tutorials.

  • @MBehtemam
    @MBehtemam 7 років тому +1

    i'm surprised how you described all this things in a simple way,thanks

    • @Techsithtube
      @Techsithtube  7 років тому +1

      When I was learning JavaScript I had really difficult time. so I decided to make think simpler for these videos. I am glad it helped. :)

  • @babakbekhradmanesh871
    @babakbekhradmanesh871 3 роки тому +1

    Thank you so much for your pure explanation. It really helped me to have a good grasp about these confusing concepts. Good job!

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

    Thanks for the explanation mate!
    Learned a lot from it.

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

    Hello!
    You're doing a great job in explaining a complex things in a simple way. But please review the video, around 2:14 you're saying that WeakSet and WeakMap are iterable, which is not true, which could be cheked by your method via console.dir(someWeakSetOrMap[Symbol.iterator]).
    Hope it will help beginners not to confuse yourselves.

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

    thanks man very clear and concise

  • @BigSmoke-r9w
    @BigSmoke-r9w 9 місяців тому +1

    I haven't started watching yet and if I successfully understand the topic, I'll comment to my own comment ..

    • @BigSmoke-r9w
      @BigSmoke-r9w 9 місяців тому

      You explained it well! Thank you.

  • @tanyasandha6598
    @tanyasandha6598 6 років тому

    you are the best so far..Your videos are very helpful .Thanks a lot

  • @mateja176
    @mateja176 6 років тому

    best video on this topic I have watched so far!!!

    • @Techsithtube
      @Techsithtube  6 років тому

      Thank Mateja, Do check out the second part which is on generators.

  • @sagarkalokhe4793
    @sagarkalokhe4793 5 років тому

    Nice one

  • @Asaloy
    @Asaloy 5 років тому +1

    You should have shown how to implement an iterator on your own object.

  • @shyam123m
    @shyam123m 5 років тому

    Valuable tutorial sir.

  • @vmmsalim
    @vmmsalim 7 років тому +1

    Thanks for introducing to new age iterators

  • @monkyes
    @monkyes 5 років тому +1

    very good guide !!!!

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

    Thank you, really nice explanation

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

    Smooth explanation! Thanks.

  • @cmntkxp
    @cmntkxp 6 років тому

    Good make . Would you please raise the volume bit up . Not sure is it because of my earphone and noise around ..please check once

  • @santhoseaghilsanthose3317
    @santhoseaghilsanthose3317 5 років тому

    Sir! Its splendid one

  • @eclipseby
    @eclipseby 7 років тому +1

    Thank you for another perfect video.

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

    We miss you and miss your content ,,, come back please

  • @jainshilpi3
    @jainshilpi3 6 років тому

    useful video sir

  • @SAURABHKUMARSUMAN
    @SAURABHKUMARSUMAN 6 років тому

    As many times I watch your video, I find that I have to learn more.
    Can you create tutorial series for NodeJs?

    • @Techsithtube
      @Techsithtube  6 років тому +1

      I dont have a plan . Do you want to NodeJS from basics?

    • @SAURABHKUMARSUMAN
      @SAURABHKUMARSUMAN 6 років тому

      techsith yes from basic

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

    cool video!

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

    Thank you!

  • @rja421
    @rja421 8 років тому

    Thanks, didn't know about these.

  • @henrichkrol8782
    @henrichkrol8782 7 років тому +1

    iterator is interesting trick

  • @MayankTopiwala
    @MayankTopiwala 6 років тому

    Hi +techsith, which is better to use in terms of Array interation when I am in need to find the object from the Array: for...of loop or Arrow function?

    • @Techsithtube
      @Techsithtube  6 років тому

      When you say Arrow function, you mean for each , map , reduce and filter function?

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

    That loud snore though at 7:49

  • @AliRaza-ei1mt
    @AliRaza-ei1mt 2 роки тому

    ❤❤❤❤

  • @sol0matrix
    @sol0matrix 6 років тому

    😍 This is deep

  • @Poszlakowaneopinie
    @Poszlakowaneopinie 7 років тому

    Sir please make a video about try catch and RegExp.

    • @Techsithtube
      @Techsithtube  7 років тому

      I will soon. thanks for watching

  • @sudhakard1910
    @sudhakard1910 6 років тому

    How do I get the "key" while iterating along with "value, done" parameters??

  • @muhammadqamar2283
    @muhammadqamar2283 6 років тому +1

    always to the rescue

  • @AkshayKumar-kz6zh
    @AkshayKumar-kz6zh 3 роки тому

    Pretty much like iterators in Python.

  • @omargalal9004
    @omargalal9004 6 років тому +1

    you are a fucking god

    • @Techsithtube
      @Techsithtube  6 років тому

      Thanks for the awesome comment :)

  • @wol2231
    @wol2231 7 років тому

    how do I use if() to print out something if the done: true?

    • @Techsithtube
      @Techsithtube  7 років тому

      Sorry i didnt get your question. Do you mean like this
      if(x===1) {
      //do something?
      }

    • @AbhishekKumar-lp5rc
      @AbhishekKumar-lp5rc 7 років тому

      You can do this.
      if(iterator.next().done == true) {
      //have fun writing javascript here
      }

  • @joenoonan9406
    @joenoonan9406 5 років тому

    7:24 7:49 is there someone snoring in the background!? Haha. Weird.

    • @Techsithtube
      @Techsithtube  5 років тому

      Yes it must be my father, he his sleeping schedule collides with my video making schedule. I hope it was just a lite distraction , I apologies :)

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

    You're funny.

  • @cskwillreturn2473
    @cskwillreturn2473 6 років тому

    who's snoring?

  • @ililiilili3366
    @ililiilili3366 6 років тому

    honestly iterators is the worst hardest sh!t in javasript.

  • @norbertogomez3735
    @norbertogomez3735 5 років тому

    Hi bro i just want to contribute maybe it could be positive for anyone that is looking for this
    let myArr=[1,2,3,4,5,6,7];
    let itr=myArr[Symbol.iterator]();
    while(item=itr.next(),!item.done)
    console.log(item.value);

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

    oh English man