Update compatibility.md

This commit is contained in:
Arseny Kapoulkine 2021-04-21 09:35:02 -07:00 committed by GitHub
parent 23d7719aa8
commit 8f1e5b6c5e
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -119,7 +119,7 @@ Lua has a beautiful syntax and frankly we're disappointed in the `<const>`/`<toc
If we do end up introducing const variables, it would be through a `const var = value` syntax, which is backwards compatible through a context-sensitive keyword similar to `type`.
## Lua 5.x differences
## Differences from Lua
We have a few behavior deviations from Lua 5.x that come from either a different implementation, or our desire to clean up small inconsistencies in the language/libraries: