DEV Community

Discussion on: Hoist Your Vars! (Variable Hoisting in JavaScript)

moyarich profile image

Your questions are addressing too many things. You are talking about scope, execution context, thread, compilation. These are things that you must understand fully. I think that you would benefit from watching this video. please pay for the full course, it will greatly improve your JavaScript skills. Tony teaches about all these things.