Closed
Description
Esprima currently represents concise methods as Property
whose value
is a FunctionExpression
. This is pretty confusing because ES5 style properties with function values are represented the same way. Even though the method
flag is true
, that still means the FunctionExpression
node represents different syntax in each situation, and that can cause errors such as eslint/eslint#1677