Created
March 24, 2015 17:51
-
-
Save vladima/f79a3e2dfd224eed9116 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var hex = 1234; | |
`Invalid unicode escape [\\u${hex}]` | |
/* | |
Output in Playground | |
var hex = 1234; | |
"Invalid unicode escape [\u" + hex + "]"; | |
*/ | |
/* | |
Output in TS master | |
var hex = 1234; | |
"Invalid unicode escape [\\u" + hex + "]"; | |
*/ | |
/* | |
Output in Babel | |
"use strict"; | |
var hex = 1234; | |
"Invalid unicode escape [\\u" + hex + "]"; | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment