Javascript function SCOPE - Interview Question #javascript #shorts

preview_player
Показать описание
Solve this interesting interview question regarding SCOPE in javascript.

🤯 Crash Courses (Single Video)

🧑‍🏫 Full Course Playlists

💻 Projects Playlists

🕹 Mini Projects (Single Video)

Рекомендации по теме
Комментарии
Автор

Thanks for your valuable information sir

shmaansari
Автор

We can also identify easily with scoping .

ionman
Автор

Please add some more video in this playlist, please sir

vishal
Автор

Good one keep bringing questions like this thank you ❤

IndianGermanDiaries
Автор

Bhrata i really like your video's it's amazing can you explain deeply action i heard that var is a global scope variable I'll be appricate if you reply bhrata

Codemakesense
Автор

Extension use krta hai line main abs dikhane ke liye vs code mein

codewithjayy
Автор

What are u using which can show the value in selecting the variable

shreyageek
Автор

But what is hoisting? ❓
Do that means x and y coming from another place? 👈❓

dragx
Автор

How to show the preview of output infront of the line in vs code like it is showing you after each line?

mubashirkhan
Автор

Var is functioned scoped ? So why the x at last is undefined? Why not 1 from above

prasadprasad-hqlm
Автор

I gave an interview yesterday for Cvent Gurgaon and the interviewer asked same question to me. But unfortunately I couldn’t able to give the right answer. Cause var x and var y was not declared at the top but the output was same. He must have seen your video.

Dee-gfir
Автор

but x defined in var toh ye global scope m chala gaya na to value 1 hi aani HELP

deepaksoni-wbhi
Автор

sir y bhi to undefined hona chaiye na sir kyuki y ki value to catch ke undar hai to vo bahar kaise aayegi ?? catch blog ke

channelk
Автор

how is this tricky? Its straightforward.😊

GorkhaliCode
Автор

Code editor work environment android mai kese setup karain

zareensuri
Автор

e konsa extension hain sude main output de raha hain

Thesciboy
Автор

how you do that, i mean how your console print exactly side of console

rushikeshdhuldhar
Автор

Which extension u are using to view variable values on right side?

swaminarayansharma
Автор

Can you explain why shadowing is not working here?

cakebakeproject
Автор

Code wouldnt print x and y after catch block execution stops after catch block

swapneelage
visit shbcf.ru