Simplest example of Esprima parser

node v4.9.1
version: 1.0.1
endpointsharetweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
var esprima = require('esprima'); esprima.parse('answer = 42');
Loading…

no comments

    sign in to comment