Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit badae95

Browse files
authored
Fix xcatliu#24 typo
1 parent 9318bd9 commit badae95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

advanced/enum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ console.log(Days[3] === "Sun"); // false
6767
console.log(Days[3] === "Wed"); // true
6868
```
6969

70-
上面的例子中,递增到 `3` 的时候与前面的 `Sun` 的取值重复了,但是 TypeScript 并没有报错,导致 `Days[3]` 的值先是 `"Sun"`,而后又被 `"Web"` 覆盖了。编译的结果是:
70+
上面的例子中,递增到 `3` 的时候与前面的 `Sun` 的取值重复了,但是 TypeScript 并没有报错,导致 `Days[3]` 的值先是 `"Sun"`,而后又被 `"Wed"` 覆盖了。编译的结果是:
7171

7272
```js
7373
var Days;

0 commit comments

Comments
 (0)