@getify That’s what I’m saying — `var \u{2B400};` is valid as of ES6, but `var \uD86D\uDC00;` is not (and never was).
-
-
@mathias cool. thanks! :) -
@mathias weird that surrogate pairs work in regexes and strings, but not identifiers. :/ - 2 more replies
New conversation -
-
-
@mathias btw also found this calculator helpful in that it goes in both directions for code-point and surrogate-pair: http://www.russellcottrell.com/greek/utilities/SurrogatePairCalculator.htm … -
@getify I tend to use https://mothereff.in/js-escapes , checking/unchecking the second checkbox to toggle. E.g. https://mothereff.in/js-escapes#1%5Cu%7B1D306%7D%0A%0A%5CuD834%5CuDF06 … - 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.