How to make a function to avoid EVAL from getting error? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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