📜  字符串插值 - Javascript 代码示例

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

代码示例3
var message1 = interpolate("turkey");
console.log(message1); // "My favorite food is turkey!"

var message2 = interpolate("tofurkey");
console.log(message2); // "My favorite food is tofurkey!"