Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

difference between backtick and quotes

var name = "world";
var greetES5 = 'Hello '+name;//using single quote
var greetES6 = `Hello ${name}`;//using ticks
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #difference #backtick #quotes
ADD COMMENT
Topic
Name
6+3 =