Skip to content

Conversation

@weswigham
Copy link
Member

Fixes #5291

Just to fill out the list of unicode-related things we could pretty easily fix

}


function peekExtendedUnicodeEscape(): number {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this just peeks to make sure the escape scans and doesn't validate that the resulting number is in the expected range - scanExtendedUnicodeEscape (which is called after both uses to get the real value) does all that.

@weswigham weswigham merged commit d00056f into microsoft:master Aug 6, 2019
@weswigham weswigham deleted the extended-escapes-in-identifiers branch August 6, 2019 21:43
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ES6 UnicodeEscapeSequence in Identifiers

2 participants