For some reason when I set an already existing global (e.g. vector
) to null or undefined it will still print the original global
Code example:
await LuauState.createAsync({ vector: undefined });
// or
await LuauState.createAsync({ vector: null });
Result:
loadstring("print(vector)")()
Luau.Web.js:1 table: 0x0000000000122148
[]