//run program with node index.js
//test program with npm test
//Steps for unit testing
-
Load the file, then parse, inspect the Abstract Syntax Tree (AST)
-
Lets evaluate an variable declaration (log the node.declaration)
-
Retrieve the variable identifier
-
Retrieve the variable value
-
Store the variable in the environment
-
What if there is a variable in the second node