Update compatibility page

This brings the page in line with other pages by adding TOC, removing duplicate header and moving it to the correct location in the tree.
This commit is contained in:
Arseny Kapoulkine 2021-03-15 21:56:18 -07:00 committed by GitHub
parent 710547df83
commit ab913e5bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,8 @@
# Compatibility
---
permalink: /compatibility
title: Compatibility
toc: true
---
Luau is based on Lua 5.1, and as such incorporates all features of 5.1, except for ones that had to be taken out due to sandboxing limitations. Because of backwards compatibility constraints, we don't remove features deprecated by later versions (e.g. we still support `getfenv`/`setfenv`). Later Lua versions introduce new features into the language and new libraries/functions.