I'm trying to execute JavaScript from plain text (from being entered by a client). I also need a way to see if the executed code works or not (if it does, then it does, otherwise, it needs to spit out a non-variable error message).
Thanks if you can! The stuff that will be executed would be short strings such as:
echo("a","b")