ES6 Lesson #6 - For of cycle

jаvascript has cycle "for in". Which in some cases had to be applied with an index, now there is another cycle for this - "for of". 

With a standard loop - for in, it returns indexes. For of - returns values. For example:

let vsevolod = ["somotik", "butilkavodki", "sobaka"]

for(let item in vsevolod) {
  console.log(item) 
}
// returns: 1 2 3


for(let item of vsevolod) {
  console.log(item) 
}
// returns: "somotik" "butilkavodki" "sobaka"