📜  javascript代码示例中的符号是什么

📅  最后修改于: 2022-03-11 15:01:40.310000             🧑  作者: Mango

代码示例2
//Javascripts $ function is used to call functions/variables inside a string without using concatenations
let variableExample = 10;

let result = `${variableExample} text`;

console.log(result);
//output = 10 text
//this only works with backtick (` `) and not with single or double quotes