Skip to content

Commit

Permalink
fix(zh-cn): add missing word "statement" to improve translation (#23093)
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
xufeiranfree and yin1999 authored Aug 17, 2024
1 parent da92b23 commit 05532c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ function Car(make, model, year) {
var mycar = new Car("Eagle", "Talon TSi", 1993);
```

该创建了 `mycar` 并且将指定的值赋给它的属性。因而 `mycar.make` 的值是字符串 "Eagle"`mycar.year` 的值是整数 1993,依此类推。
该语句创建了 `mycar` 并且将指定的值赋给它的属性。因而 `mycar.make` 的值是字符串 `"Eagle"``mycar.year` 的值是整数 `1993`,依此类推。

你可以通过调用 `new` 创建任意数量的 `car` 对象。例如:

Expand Down

0 comments on commit 05532c6

Please sign in to comment.