Execute JavaScript

In this game you can execute javascript code
I want to make something like this but i dont know how to do this
Maybe there is any web api or other thing that can execute code and return output


Javascript Console

By @habahaba9

I found this project called “Colony” which basically turns JavaScript code into Lua. It is possible that this was used somehow, or alternatively they built their own version.

colony-js:20: attempt to call a nil value
Stack Begin
Script “colony-js” Line 20
Stack End

Using it won’t be as simple as copy and pasting , you will need to look into how to use it to fit your situation. Or again, you could make your own.

1 Like