TypeScript Iterators

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

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

  • @ProgramArtist
    @ProgramArtist  7 лет назад

    Let me know what would you like me to talk about, it can be anything as long as it is programming related

  • @Disantossilva
    @Disantossilva 6 лет назад

    Hi, nice job. Very useful. Say with you did to appear directly the console log in code?

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

      If I remember correctly it's wallaby

  • @raj.blazers
    @raj.blazers 7 лет назад

    Ok, what if I add some property to 'set', and then I need to find key(index) and value in the 'set' list?

    • @ProgramArtist
      @ProgramArtist  7 лет назад +1

      If I understand the question correctly it should be something like this:
      set.someProperty='some value'
      for (let prop in set) {
      console.log(prop, '-', set[prop]); // will log: someProperty - some value
      }
      Exactly the same as in regular object

  • @niyongaboeric
    @niyongaboeric 7 лет назад

    I like initiative but Try to improve your teaching methodology. I still don't understand iterators after watching your video