Esprima can be used to perform lexical analysis (tokenization) or syntactic analysis (parsing) of a JavaScript program. A simple example on Node.js REPL:
確定! 回上一頁