JS Coding Questions Logo
JS Coding Questions
#154💼 Interview

Is it recommended to use eval

Advertisement

728x90

No, it allows arbitrary code to be run which causes a security problem. As we know that the eval() function is used to run text as code. In most of the cases, it should not be necessary to use it.

Advertisement

Responsive Ad
🎯 Practice NowRelated Challenge

JavaScript Coding Exercise 69

Test your knowledge with this interactive coding challenge.

Start Coding

Advertisement

728x90
154of476