Basically any code that would be valid to type in the code editor, you can type in the eval command. For instance: eval trace(table.concat({"a", "b", "c"}))
It's very useful for inspecting the state of your variables or calling functions after running your game and hitting ESC.