grammar fixes

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
Junseo Yoo 2024-06-11 09:32:08 -07:00 committed by GitHub
parent 102e05fb0c
commit 079f05f1b5
Signed by: DevComp
GPG key ID: B5690EEEBB952194

View file

@ -6,7 +6,7 @@ This RFC proposes the addition on one type operator, `rawget`, which can be used
## Motivation
There exists `index` type operator that allow developers to obtain a type of a property from classes / tables. If the a type is not found in the given class / table, the operator recursively indexes into the `__index` metamethod to continue searching for the property. Sometimes, this is could be an unwanted behavior. For example, given this code:
There exists an `index` type operator that allows developers to obtain a type of a property from classes / tables. If a type is not found in the given class / table, the operator recursively indexes into the `__index` metamethod to continue searching for the property. Sometimes, this could be an unwanted behavior. For example, given this code:
```luau
local var1 = {