Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[[CHORE]] Simplify internal function
In so-called "object short notation," an IdentifierName is interpreted as both a LiteralPropertyName and an IdentifierReference. The second is a more restrictive goal than the first, so it is not necessary to apply the LiteralPropertyName validation rules. Removing that validation logic allows for an otherwise-unused parameter of the internal `propertyName` function to be removed.
- Loading branch information