Member-only story

JavaScript Tutorial — Lexical Environment

Ghost Together
3 min readNov 6, 2018

--

Here’s a list of my best web development tutorials.

Complete CSS flex tutorial on Hashnode.

Ultimate CSS grid tutorial on Hashnode.

Higher-order functions .map, .filter & .reduce on Hashnode.

Follow me @ Twitter, Instagram & fb to never miss premium articles.

Lexical Environment in JavaScript is created every time you create a scope using the curly brackets {}. It can be nested: {{…}}

Watch this video I that explains the idea behind Lexical Environments.

A Lexical Environment is created behind the scenes. It’s just a logistical concept. There is no way to actually access it from your JavaScript code.

--

--

Ghost Together
Ghost Together

Written by Ghost Together

Ghost Together @ https://semicolon.dev is an alternative to Twitter. Sign up to meet other makers of things.

Responses (2)