We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad555ab commit a19f749Copy full SHA for a19f749
basic/string.js
@@ -50,3 +50,9 @@ let text2 = "How are you doing today?";
50
const myArray = text2.split(" ");
51
let word = myArray[1];
52
console.log(word);
53
+
54
+// string format with variables
55
+var my_name = 'John';
56
+var s = `hello ${my_name}, how are you doing`;
57
+console.log(s); // prints hello John, how are you doing
58
0 commit comments