typescript 怎么在控制台打印一句话?
function hello (template, name, age) { console.log(templage); console.log(name); console.log(age); } var name = "张三"; var getAge = function () { return 18; } console.log(hello`Hello, my name is ${name}, i'm ${getAge()}.`)
老师,怎么打印这句话?