compute
Evaluates the given expression and returns the result.
Return
the result of evaluating the expression, or null if the expression evaluates to null
Parameters
expr
the expression to evaluate
Throws
if checkCode rejects expr, or it fails to compile or run