Skip to content

Commit a09a86b

Browse files
Senjoeyleviding
authored andcommitted
Update article.md (javascript-tutorial#295)
1 parent f46a96c commit a09a86b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • 1-js/07-object-oriented-programming/05-native-prototypes

1-js/07-object-oriented-programming/05-native-prototypes/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ alert(f.__proto__.__proto__ == Object.prototype); // true, inherit from objects
9797

9898
## 基本数据类型
9999

100-
最复杂的事情放生在字符串、数字和布尔值上。
100+
最复杂的事情发生在字符串、数字和布尔值上。
101101

102102
正如我们记忆中的那样,它们并不是对象。但是如果我们试图访问它们的属性,那么临时的包装对象将会被内置的构造函数`String``Number``Boolean`创建,它们提供给我们操作字符串、数字和布尔值的方法然后藏匿起来。(译者注:这里的“隐匿起来”应该是指我们在打印这些值的时候看不到对象的方法)
103103

0 commit comments

Comments
 (0)