Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

\u{61} is a valid variable name in JS but not in TS #20250

Closed
Jack-Works opened this issue Nov 24, 2017 · 3 comments
Closed

\u{61} is a valid variable name in JS but not in TS #20250

Jack-Works opened this issue Nov 24, 2017 · 3 comments
Labels
Duplicate An existing issue was already created

Comments

@Jack-Works
Copy link
Contributor

TypeScript Version: 2.6.1

Code

var \u{61} = 1

Expected behavior:
Transpile it into var \u{61} = 1
image
(In Firefox)

Actual behaviour:
image

@sanex3339
Copy link

It's a valid variable name for es6

@mhegazy
Copy link
Contributor

mhegazy commented Nov 27, 2017

Duplicate of #5291

@mhegazy mhegazy marked this as a duplicate of #5291 Nov 27, 2017
@mhegazy mhegazy added the Duplicate An existing issue was already created label Nov 27, 2017
@typescript-bot
Copy link
Collaborator

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.

@microsoft microsoft locked and limited conversation to collaborators Jun 14, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

4 participants