How to make a function to avoid EVAL from getting error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a function to avoid EVAL from getting error?

if I have to use eval!!

13th Apr 2017, 8:55 PM
Ziad
Ziad - avatar
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.
13th Apr 2017, 11:37 PM
Rrestoring faith
Rrestoring faith - avatar