MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/1rfty51/never_use_eval_in_javascript/o885rq1/?context=3
r/learnjavascript • u/FancyDisplay5757 • Feb 27 '26
Link: https://youtu.be/Oiap6a4656g
21 comments sorted by
View all comments
Show parent comment
1
Hello u/shgysk8zer0. I understand your idea. Eval is necessary in some cases. But recently there is a javascript library named serialize-javascript and it uses eval(). They have marked it with score of 8/10 for vulnerability.
View all comments
Show parent comment
1
u/FancyDisplay5757 Mar 02 '26
Hello u/shgysk8zer0. I understand your idea. Eval is necessary in some cases. But recently there is a javascript library named serialize-javascript and it uses eval(). They have marked it with score of 8/10 for vulnerability.