Skip to main content
9 events
when toggle format what by license comment
Aug 21, 2016 at 23:38 comment added Neil @Bergi You're right, I'd confused it with Java. Sorry about that. I must have got lucky in this particular case.
Aug 21, 2016 at 23:21 comment added Bergi @Neil: Not exactly, no. You can use them only in identifier names, not as punctuation, comments, whitespaces, keywords or anything else. Have you tried it? It's not like Java :-)
Aug 21, 2016 at 23:12 comment added Neil @Bergi Unicode escapes are processed first, so you can write your entire source in terms of unicode escapes if you like, while hex escapes only work inside strings.
Aug 21, 2016 at 23:02 comment added Bergi @Cyoce: In identifiers, yes, in general, no.
Aug 21, 2016 at 18:54 comment added Cyoce Javascript allows \u escapes in source code? Cool
Aug 21, 2016 at 17:56 comment added Neil @GOTO0 Ugh, I can't believe I forgot x.
Aug 21, 2016 at 17:56 history edited Neil CC BY-SA 3.0
added 42 characters in body
Aug 21, 2016 at 17:11 comment added GOTO 0 "x" needs special handling, too. Also, use alert(atob`XA`) for "\" to save a few bytes.
Aug 21, 2016 at 16:36 history answered Neil CC BY-SA 3.0