hoisting tag

2 questions


1 answers
86 views
0
I have a question about the example of hoisting.

I have a question for Mr. Yamoo!There is an example of hoisting that you used in the lecture [4-24] Variable, Function Hoisting/Scope Chaining at around 7:13 p.m. When I run it, I get undefined. I thi...


2 answers
71 views
0
[javascript] Is JavaScript a compilation language or an interpreter language?

Hello. While studying scope in JavaScript, I was reading the following link, and I have a question.https://meetup.toast.com/posts/86 function foo() { console.log(a); var a = 2;}foo();There is an artic...


© 2024 OneMinuteCode. All rights reserved.