Created
January 6, 2019 18:01
-
-
Save oliversd/061cb21ec3e91facd84f8956ee082c02 to your computer and use it in GitHub Desktop.
Template literals demo
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
let a = 5; | |
let b = 10; | |
console.log(`The sum of a and b is ${a+b} and the multiplication is ${a*b}`); | |
// The sum of a and b is 15 and the multiplication is 50 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment