Hacker News new | past | comments | ask | show | jobs | submit login

You can escape identifiers in JS, too. But what you can't do is escape just _any_ source character like the way it's defined in Java and used in the example. Writing `foo = \u0022bar\u0022`, for example, is invalid.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: