Acorn
Inspect the syntax of JavaScript without running the program.
acornjs · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
In a Node.js project, install [email protected]. Parse a line that declares a counter and inspect its name and starting value.
What we tested
8.19.0. Parse a line that declares a counter and inspect its name and starting value. Read the declaration name count and its initial value 5.