Skip to content

Commit

Permalink
Update VDSL_CN.md
Browse files Browse the repository at this point in the history
Safe3 committed Dec 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b836967 commit da1d595
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VDSL_CN.md
Original file line number Diff line number Diff line change
@@ -31,7 +31,7 @@ func() { /*...*/ } // function 值
| bytes | 字节数组 | `[]byte` |
| error | [错误](#error-values)| - |
| time | 时间值 | `time.Time` |
| array | 值数组_(可变 )_ | `[]any` |
| array | 值数组 _(可变 )_ | `[]any` |
| const array | [常量](#const-values) 数组 | - |
| map | 具有字符串键的值映射 _(可变)_ | `map[string]any` |
| const map | [常量](#const-values) 映射 | - |
@@ -434,7 +434,7 @@ for {

### For-In 语句

VDSL中新增了“For In”语句。它类似于Go的“for range”语句。
VDSL中新增了“for in”语句。它类似于Go的“for range”语句。

“For In”语句可以迭代任何可迭代的值类型(数组、映射、字节、字符串、nil)。

0 comments on commit da1d595

Please sign in to comment.