File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ var text = "This string contains \"double quotes\" which are escaped.";
254
254
```
255
255
256
256
``` javascript
257
- let text = ` This string contains "double quotes" which are escaped.` ;
257
+ let text = ` This string contains "double quotes" which don't need to be escaped anymore .` ;
258
258
```
259
259
260
260
** Template Literals** also support interpolation, which makes the task of
Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ var text = "This string contains \"double quotes\" which are escaped.";
236
236
```
237
237
238
238
``` javascript
239
- let text = ` This string contains "double quotes" which are escaped.` ;
239
+ let text = ` This string contains "double quotes" which don't need to be escaped anymore .` ;
240
240
```
241
241
242
242
** 字符串模板字面量** 还支持直接插入变量,可以实现字符串与变量的直接连接输出。
You can’t perform that action at this time.
0 commit comments