Arrow functions and methods' params are binding identifiers (#6770)
This commit is contained in:
parent
15a80f0df8
commit
a328b6ad1a
@ -94,6 +94,9 @@ getBindingIdentifiers.keys = {
|
||||
|
||||
FunctionDeclaration: ["id", "params"],
|
||||
FunctionExpression: ["id", "params"],
|
||||
ArrowFunctionExpression: ["params"],
|
||||
ObjectMethod: ["params"],
|
||||
ClassMethod: ["params"],
|
||||
|
||||
ForInStatement: ["left"],
|
||||
ForOfStatement: ["left"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user