mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-14 06:00:39 +00:00
Update syntax-list-comprehensions.md
This commit is contained in:
parent
6cefa03519
commit
cf0bc1ed93
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ When traversing a table to exclude all the odd numbers you'd be creating a large
|
|||
To solve these problems, I propose a `n for-in-do` expression form that is syntactically similar to a for statement, but lacks terminating `end`.
|
||||
|
||||
The `n for-in-do` expression must match ``<identifier> for <identifier> in <expr> do``.
|
||||
A ``if <expr> then`` expression might be required.
|
||||
A ``if <expr>`` expression might be required.
|
||||
|
||||
Example:
|
||||
```lua
|
||||
|
|
Loading…
Reference in a new issue