格式化字符串如下:
- let value1 = 1
- let value2 = "https://files.jxasp.com/image/2222";
- let url = `hello ${value1 + 10} hello ${value2}`;
通过这种方式格式化字符串。
格式化字符串如下:
- let value1 = 1
- let value2 = "https://files.jxasp.com/image/2222";
- let url = `hello ${value1 + 10} hello ${value2}`;
通过这种方式格式化字符串。