Keyword "for ... in ..." in stupid javascript

  • for index in [1,2,3]
  • for value of [1,2,3]

Did you notice that for ... in ... is different than for ... of ... in javascript? 

https://www.tutorialsteacher.com/typescript/for-loop