All language subtitles for 6- JavaScript in Node

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 in the last lecture 2 00:00:04.000 --> 00:00:08.000 we executed this piece of JavaScript code inside of a browser. 3 00:00:08.000 --> 00:00:12.000 In this lecture, I'm going to show you how to run the same code 4 00:00:12.000 --> 00:00:16.000 in Node. So I'm assuming you have installed Node on your machine, if not 5 00:00:16.000 --> 00:00:20.000 head over to nodejs.org and download the latest version of Node. 6 00:00:20.000 --> 00:00:24.000 Now if you're on Windows, open up command prompt, if you're on Mac, 7 00:00:24.000 --> 00:00:28.000 open up terminal, and head over to the folder you create earlier. 8 00:00:28.000 --> 00:00:32.000 Now, in this folder we run Node, and pass the name of 9 00:00:32.000 --> 00:00:36.000 our JavaScript file, that is index.js. 10 00:00:36.000 --> 00:00:40.000 We get the same message on the console. So we can see node is 11 00:00:40.000 --> 00:00:44.000 a program that includes v8 JavaScript 12 00:00:44.000 --> 00:00:48.000 engine. We can give it a piece of JavaScript code, and it will execute that 13 00:00:48.000 --> 00:00:52.000 code for us just like how we can execute some JavaScript code in a browser, 14 00:00:52.000 --> 00:00:56.000 so Node is a run time environment for executing JavaScript code. 15 00:00:56.000 --> 00:01:00.000 Now let me show you a tip. Here in vs code 16 00:01:00.000 --> 00:01:04.000 we have an integrated terminal, so you don't have to explicitly 17 00:01:04.000 --> 00:01:08.000 open up a separate terminal window. So here on the top, 18 00:01:08.000 --> 00:01:12.000 under the view menu, look we have integrated terminal. 19 00:01:12.000 --> 00:01:16.000 Note the short cut here, that's the short cut for Mac, 20 00:01:16.000 --> 00:01:20.000 on Windows you're going to have a different short cut. So, select this, 21 00:01:20.000 --> 00:01:24.000 and here's our integrated terminal, pointing to the same 22 00:01:24.000 --> 00:01:28.000 folder where we created our files. So we don't have to explicitly 23 00:01:28.000 --> 00:01:32.000 navigate to this folder. And here we can run Node 24 00:01:32.000 --> 00:01:36.000 index.js as well. Now in this course we're not going to work with 25 00:01:36.000 --> 00:01:40.000 node anymore, because Node is a completely separate topic, in fact 26 00:01:40.000 --> 00:01:44.000 I have a comprehensive course about Node with 14 hours of content. 27 00:01:44.000 --> 00:01:48.000 So once you finish this course, if you want to learn about Node you can always pick up my Node course. 2569

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