Demo entry 6642773

javascript

   

Submitted by te on Sep 25, 2017 at 11:32
Language: JavaScript. Code size: 162 Bytes.

var ast = estemplate('var <%= varName %> = <%= value %> + 1;', {
    varName: {type: 'Identifier', name: 'myVar'},
    value: {type: 'Literal', value: 123}
});

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).