Update docs/_posts/2022-08-29-luau-recap-august-2022.md

Co-authored-by: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com>
This commit is contained in:
Alexander McCord 2022-08-30 06:21:34 -07:00 committed by GitHub
parent 5c2811361a
commit de08dabdbb
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ Luau is our new language that you can read more about at [https://luau-lang.org]
See the RFC [Support `__len` metamethod for tables and `rawlen` function](https://github.com/Roblox/luau/blob/master/rfcs/len-metamethod-rawlen.md) for more details.
With generalized iteration released in May, custom containers are easier than ever to use. The only thing missing were the fact tables didn't respect `__len`.
With generalized iteration released in May, custom containers are easier than ever to use. The only thing missing was the fact that tables didn't respect `__len`.
Simply, tables now honor the `__len` metamethod, and `rawlen` is also added with similar semantics as `rawget` and `rawset`: