// Life, Universe, and Everything var answer = 6 * 7;
Syntax node location info (start, end): Index-based range Line and column-based
For a command-line usage, check esvalidate from Esprima package for Node.js.
Esprima is created and maintained by Ariya Hidayat.