JavaScript Tutorial For Beginners
Learning Curve Books: http://www.learningcurvebook.net
Follow me on Twitter: https://twitter.com/js_tut
Follow on Instagram: https://www.instagram.com/javascriptteacher/
Follow on Facebook: https://www.facebook.com/javascriptteacher
Learn about Lexical Environment in this JavaScript tutorial. A pretty good starting point into the language. JavaScript lexical scope, JavaScript lexical scope example, JavaScript lexical scope definition.
Other potentially relevant keywords:
let, var, scope, hoist, hoisting, execution context, call stack.
Self-education
Computer Literacy
For next generation of teachers
artists, coders, designers, and makers of things.
Learning Curve Books: http://www.learningcurvebook.net
Original source
10 responses to “JavaScript Tutorial Part 1 – Lexical Environment”
Can someone explain how let worked with setTimeout and not var?
Great presentation & diagrams / flow charts of complex JavaScript subject matter in bite size chunks. Look forward to the rest of your series and book. Well done.
You did a great work. Thank you !
The different behavior of "let" in lexical context
is an incredible breakthrough that all Javascript-Coders
were looking forward to since the beginning of times…. and still cannot use it
because of the widespread use of IE on enterprises !
Keep up the good job!
finally i found good tutorial for lexical environment, good work
awsm the best
Thank you for further clarifying the difference between the var and let keywords! Looking forward to more in-depth tutorials!
Really love your passion on this ♥… Great Twitter fan
It's a good brush up on fundamentals.
This is an awesomely original tutorial, I just got done doing a deep dive on JS lexical and executional environments, including the "this" keyword, this definitely helped me feel confident with that new knowledge. I am interested in what other less discussed/popular topics you are going to make into tutorials. Do you get this knowledge through pure application and experience or do you have a preferred source to teach yourself these topics?
Indepth tutorial. Looking forward to more. Thanks. I was looking forward to an explanation of const and let and i finally understood. Thanks