I try to understand how closure is working under the hood. So I've read a lot of documentation and so many different websites.
Then I read this Variable Environment vs lexical environment
And in old documentation (2011) https://262.ecma-international.org/5.1/#sec-10.2
there are two different things, LE and ER.
But in modern https://262.ecma-international.org/12.0/#sec-environment-records
There is only one, environment record, and description of it is very similar to the old describe of lexical environments/
So, I am really confusing. Does LE still exist for modern javaScript (ecmaScript 6+)? What the difference between LE and ER?