Skip to content

Commit a188e96

Browse files
committed
docs(string): edit string
1 parent 7f0180c commit a188e96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/string.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,8 @@ tag`First line\nSecond line`
851851

852852
function tag(strings) {
853853
console.log(strings.raw[0]);
854-
// "First line\\nSecond line"
854+
// strings.raw[0] 为 "First line\\nSecond line"
855+
// 打印输出 "First line\nSecond line"
855856
}
856857
```
857858

0 commit comments

Comments
 (0)