The JS-Interpreter can run itself:
https://neil.fraser.name/software/JS-Interpreter/demos/self-interpreter.html
This is an important ability. Adding let/const to the source code means the JS-Interpreter would be using ES6 constructs, and thus could no longer run itself. We need to keep the source code compatible with ES5.
Sorry, I did not know that the code base was based on ECMAScript 5. Thanks for the information. I am in my freshman year. I did not know this piece of information.
The JS-Interpreter can run itself: https://neil.fraser.name/software/JS-Interpreter/demos/self-interpreter.html This is an important ability. Adding let/const to the source code means the JS-Interpreter would be using ES6 constructs, and thus could no longer run itself. We need to keep the source code compatible with ES5.