Skip to content

Commit a7190e8

Browse files
committed
优化翻译
1 parent 258cc0e commit a7190e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 1-js/05-data-types/03-string/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ for (let char of "Hello") {
186186
let str = 'Hi';
187187

188188
str[0] = 'h'; // error
189-
alert( str[0] ); // 无法运行
189+
alert( str[0] ); // 没成功
190190
```
191191

192192
通常的解决方法是创建一个新的字符串,并将其分配给 `str` 而不是以前的字符串。

0 commit comments

Comments
 (0)