📅  最后修改于: 2022-03-11 15:01:40.310000             🧑  作者: Mango
//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