All language subtitles for 8- For...of

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian Download
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: WEBVTT 1 00:00:00.000 --> 00:00:04.000 So as I told you in the last 2 00:00:04.000 --> 00:00:08.000 lecture, starting from ecma script 6, or ES6, 3 00:00:08.000 --> 00:00:12.000 we have a new way to iterate over a raise and that is 4 00:00:12.000 --> 00:00:16.000 using the for of loop. It's very similar to the 5 00:00:16.000 --> 00:00:20.000 for in loop but instead of the in keyword we use the of keyword. 6 00:00:20.000 --> 00:00:24.000 So here's an example, for let, 7 00:00:24.000 --> 00:00:28.000 color of colors, 8 00:00:28.000 --> 00:00:32.000 you can simply log this color on the console. 9 00:00:32.000 --> 00:00:36.000 You can see with this new for loop, we don't have to deal with 10 00:00:36.000 --> 00:00:40.000 this index. We don't have to access this element 11 00:00:40.000 --> 00:00:44.000 at the given index. So in each iteration this 12 00:00:44.000 --> 00:00:48.000 color which is our loop variable will hold one of the items in this array. 13 00:00:48.000 --> 00:00:52.000 So when I save the changes you see red 14 00:00:52.000 --> 00:00:56.000 green and blue. So I'm going to delete this for 15 00:00:56.000 --> 00:01:00.000 in loop, bring the colors array down to 16 00:01:00.000 --> 00:01:04.000 summarize everything. So we use the for in loop 17 00:01:04.000 --> 00:01:08.000 to iterate over the properties of an object and 18 00:01:08.000 --> 00:01:12.000 the for of loop to iterate over the elements or items 19 00:01:12.000 --> 00:01:15.033 in an array. 1503

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.