我在使用TypeScript连接字符串时遇到了困难.
码:
var info= {user:'med'}; console.log('le nom est:${info.user}');
结果是:
le nom est:$ {info.user}
如何在TypeScript中连接2个字符串?
typescript
typescript ×1