ES6 and Typescript Tutorial - 5 - Var Hoisting & Functional Scope

preview_player
Показать описание

📱 Follow Codevolution

Hoisting with var declaration.
Functional scope with var declaration.

ES6 | ES2015 | Typescript | ES6 Tutorial | ES2015 Tutorial | Typescript Tutorial | ES6 Tutorial for Beginners | ES2015 Tutorial for Beginners | Typescript tutorial for Beginners
Рекомендации по теме
Комментарии
Автор

I have an error: Parameter 'name' implicitly has an 'any' type.
How did he compile ts file without type?

Update:
Seems like I fixed it by declaring function in my way:
function greetPerson(name: string)

But it isn't obvious :c

rvrby
Автор

is it everytime u create a new .ts file, u have to create a new tsconfig.json file as well? like wat is shown in tutorial 3?

Sky-oiqi
Автор

Only one question, how come when you save the .ts file it is replicating the same in browser without building? I need to build it each time.
Thanks for the tutorial.

VikashSingh-ehen
Автор

3:13 hoisting and functional scope of 'var'

toannew
Автор

my man ! u need to be specific ! is this tutorial for beginners or advanced developer ? becoz when u say i already built it a beginner like me how do I know how u built it ?? please specify is this course for me as beginner ?

mga
Автор

I followed from video one till here and I still couldn't connect pieces together ! why that extension ? why u came back to vs code ? what the hell is this in this video ? seems u know exactly this stuff and u understand it very well but I'm not sure ur doing good job to explain it ! anyway I will keep watching ur videos but if things stayed not clear and u just explain like ur expecting beginners who don't know nothing about ES6 know exactly what ur talkin about by saying i already built this then I would stop watching ur videos, at least the first videos clarify the steps and then later on we will understand what u mean when u skip steps or don't show them in details ! thanks anyway

mga