0

Why do we need * eval() *method in javascript when we can just use the parameters declared in the function?

Eval ()

28th Nov 2017, 5:19 AM
Damilola Daramola
Damilola Daramola - avatar
3 odpowiedzi
+ 11
for user input, you might want the user to write his own functions (for a game or anything where it might make sense) note: eval is evil ^^ -slow -very insecure -hard to debug
28th Nov 2017, 6:31 AM
Kamil
Kamil - avatar
+ 1
Thanks
28th Nov 2017, 6:42 AM
Damilola Daramola
Damilola Daramola - avatar
0
slow
29th Nov 2017, 8:27 AM
Aju Christopher