💬

Community answer

Collected from the ACE community Discord archive around 2018-08-20. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

loadstring sets the default environment

💬 GeneralUpdated 2 days ago•0 views
It's loadstring that sets the default environment for the chunk, not try - loadstring'd code runs in the default env unless you pass one.

Why does try() reset my environment

It's loadstring that sets the default environment for the chunk, not try - loadstring'd code runs in the default env unless you pass one.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.