There was an error while loading. Please reload this page.
1 parent 258cc0e commit a7190e8Copy full SHA for a7190e8
1 file changed
1-js/05-data-types/03-string/article.md
@@ -186,7 +186,7 @@ for (let char of "Hello") {
186
let str = 'Hi';
187
188
str[0] = 'h'; // error
189
-alert( str[0] ); // 无法运行
+alert( str[0] ); // 没成功
190
```
191
192
通常的解决方法是创建一个新的字符串,并将其分配给 `str` 而不是以前的字符串。
0 commit comments