0

JavaScript Comments

Are JavaScript Comments permitted only inside the <head> or <body> sections?

22nd Jan 2020, 7:40 AM
3BHeartz
3BHeartz - avatar
2 RĂ©ponses
+ 3
//You can be placed everywhere if it's inside JavaScript script tag or file https://www.sololearn.com/learn/JavaScript/1126/
22nd Jan 2020, 7:47 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 5
I think you can put js comments anywere you have JavaScript.
22nd Jan 2020, 7:45 AM
🍇 Alex Tușinean 💜
🍇 Alex Tușinean 💜 - avatar