mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-03 02:10:53 +01:00
docs: Wording
This commit is contained in:
parent
b3aac63429
commit
742ec27210
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ a[foo()] = a[foo()] + 1
|
|||
a[foo()] += 1
|
||||
```
|
||||
|
||||
Compound assignments call the arithmetic metamethods (`__add` et al) and table indexing metamethods (`__index` and `__newindex`) as necessary - for custom types no extra effort is necessary to support them.
|
||||
Compound assignments call the arithmetic metamethods (`__add` et al) and table indexing metamethods (`__index` and `__newindex`) as needed - for custom types no extra effort is necessary to support them.
|
||||
|
||||
Type annotations
|
||||
================
|
||||
|
|
Loading…
Add table
Reference in a new issue