0

when do you use the eval() function in javascript

i understand how it works i just dont see why you would need to use it please help thanks.

1st Apr 2018, 2:13 AM
Mahaki
Mahaki - avatar
2 Answers
+ 3
If you don't see why/when you need to use it, simply don't use it ^^ All the most, as 'eval()' function should be only used in very specific case, because it is known to be relatively unsafe...
1st Apr 2018, 2:17 AM
visph
visph - avatar
+ 2
ok thank you
1st Apr 2018, 2:53 AM
Mahaki
Mahaki - avatar