I found esprima 4.0.1 did not support ES6 Ojbect Spread Syntax,as follows: let obj1 = {a: 1, b: 2}; let obj2 = {...obj1};