Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9318bd9 commit badae95Copy full SHA for badae95
advanced/enum.md
@@ -67,7 +67,7 @@ console.log(Days[3] === "Sun"); // false
67
console.log(Days[3] === "Wed"); // true
68
```
69
70
-上面的例子中,递增到 `3` 的时候与前面的 `Sun` 的取值重复了,但是 TypeScript 并没有报错,导致 `Days[3]` 的值先是 `"Sun"`,而后又被 `"Web"` 覆盖了。编译的结果是:
+上面的例子中,递增到 `3` 的时候与前面的 `Sun` 的取值重复了,但是 TypeScript 并没有报错,导致 `Days[3]` 的值先是 `"Sun"`,而后又被 `"Wed"` 覆盖了。编译的结果是:
71
72
```js
73
var Days;
0 commit comments