Skip to content

Commit 2350471

Browse files
authored
fix: translation
1 parent 0e9dbde commit 2350471

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/01-primitives-methods

1 file changed

+1
-1
lines changed

1-js/05-data-types/01-primitives-methods/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ alert( str.toUpperCase() ); // HELLO
6262

6363
很简单,对吧?以下是 `str.toUpperCase()` 中实际发生的情况:
6464

65-
1. 字符串 `str` 是一个原始值。因此,在访问其属性时,会创建一个包含字符串字面值的特殊对象,并且具有有用的方法,例如 `toUpperCase()`
65+
1. 字符串 `str` 是一个原始值。因此,在访问其属性时,会创建一个包含字符串字面值的特殊对象,并且具有可用的方法,例如 `toUpperCase()`
6666
2. 该方法运行并返回一个新的字符串(由 `alert` 显示)。
6767
3. 特殊对象被销毁,只留下原始值 `str`
6868

0 commit comments

Comments
 (0)