Please, do not use document.write() | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Please, do not use document.write()

People shouldn't learn to program using document.write(). It's a bad practice: https://stackoverflow.com/questions/802854/why-is-document-write-considered-a-bad-practice and there are alternatives: https://blog.dareboost.com/en/2016/09/avoid-using-document-write-scripts-injection/

26th Jun 2017, 10:36 AM
yuriploc
1 ответ
+ 2
if ur not receiving any inputs to obtain an argument for the write method it is okay
26th Jun 2017, 11:13 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar