How to make a function to avoid EVAL from getting error? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuesta
+ 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