A normal calculator. That can do most mathematical functions such as sqrt() and can even run javascript if you enclose it with function(){ //code goes here }
Have fun!
@Highwayman Actually, that will not work because eval() only evaluates code in the string and does not use or interact with variables in the global namespace.
Are you sure it can’t

but they both did not work