New course! Every coder should learn Generative AI!
Try a free lesson0
How to make a function to avoid EVAL from getting error?
if I have to use eval!!
1 Answer
+ 5
Not sure what you're asking, could you use an example?
If eval is giving you an error, surround it in a try, catch.