What is the JavaScript file naming convention? | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
0

What is the JavaScript file naming convention?

What is the JavaScript file naming convention? 1.my_file.js 2.myFile.js 3.MyFile.js ......others .. Please ,let me know...!!!

4th Jul 2021, 2:25 AM
Md. Shahriar Kamal Nafiz
Md. Shahriar Kamal Nafiz - avatar
2 odpowiedzi
+ 2
there's no file naming convention, appart the .js extension ^^
4th Jul 2021, 2:31 AM
visph
visph - avatar
0
As said by visp it's all upto you want you want to keep the name of the file. You can use any supported character as your file name but just it must end with '.js'
4th Jul 2021, 4:14 AM
Krish
Krish - avatar