mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-25 03:02:21 +00:00
docs(string): edit template function
This commit is contained in:
parent
7c49f7edc2
commit
d89de23e1d
@ -355,7 +355,7 @@ ES2017 引入了字符串补全长度的功能。如果某个字符串不够指
|
|||||||
|
|
||||||
## 模板字符串
|
## 模板字符串
|
||||||
|
|
||||||
传统的 JavaScript 语言,输出模板通常是这样写的。
|
传统的 JavaScript 语言,输出模板通常是这样写的(下面使用了 jQuery 的方法)。
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
$('#result').append(
|
$('#result').append(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user