How to make a function to avoid EVAL from getting error? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 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