Created
March 27, 2015 21:50
-
-
Save keokilee/55c0c2d74bf06eea1d69 to your computer and use it in GitHub Desktop.
ES6 Template Strings
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 name = "George"; | |
var greetingES5 = "Hello " + name; | |
var greetingES6 = `Hello ${name}`; | |
greeting1 === greeting2; // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment