一处翻译错误 modified: doc/handbook/Basic Types.md (#196)
This commit is contained in:
parent
bca48868b8
commit
3804cc48fb
@ -135,7 +135,7 @@ let c: Color = Color.Green;
|
||||
enum Color {Red = 1, Green, Blue}
|
||||
let colorName: string = Color[2];
|
||||
|
||||
alert(colorName); // 显示'Green'因数它的值大于2
|
||||
alert(colorName); // 显示'Green'因为上面代码里它的值是2
|
||||
```
|
||||
|
||||
# 任意值
|
||||
|
Loading…
Reference in New Issue
Block a user