DEV Community

Discussion on: 15 Beginner JavaScript Projects to Improve Your Front-End Skills!

Collapse
 
princemuel profile image
Prince Muel

Hello, using the eval() function in JS is forbidden because it can allows the opportunity for dangerous code to be passed into an application

Collapse
 
lakshyachopra profile image
Lakshya Chopra

It's not forbidden, eval() is just not recommended.

Collapse
 
princemuel profile image
Prince Muel

half empty, half full. still means the same thing