name anonymous functions on property assignments

T.J. Crowder tj.crowder at
Thu Jan 12 15:30:03 UTC 2017

I'm mistaken about Step 1.e of [assignment evaluation][1], it's not
that we'd want to remove the IsIdentifierRef check, it's that we'd
want to make it "IsIdentifierRef is true or IsPropertyRef is true":

> e. If IsAnonymousFunctionDefinition(AssignmentExpression) is true and either IsIdentifierRef or IsPropertyRef of LeftHandSideExpression is true, then

-- T.J.


More information about the es-discuss mailing list