0
document.write in js
why is that when coding in the code playground. Every line with the document.write shows a warning of a bug that document.write is a form of eval?
3 Réponses
+ 2
Despite your code is okay, but document.write() is an eval function that is in Jscript there are some functions call eval, these are some free-define function. Therefore, the warning triangle sign is just giving you a caution because eval function are lairs of hackers where they easily can inject malcodes into a website.
A.Ra'is
+ 2
Thank Ra'is
+ 1
You are welcome Nig