What Should I Name My Javascript File
File Names Must Be All Lowercase and May Include Underscores ( _ ) or Dashes ( – ), but No Additional Punctuation. Follow the Convention That Your Project...
File names must be all lowercase and may include underscores ( _ ) or dashes ( – ), but no additional punctuation. Follow the convention that your project uses. Filenames’ extension must be . js .
What should I name a JavaScript file?
File names must be all lowercase and may include underscores ( _ ) or dashes ( – ), but no additional punctuation. Follow the convention that your project uses. Filenames’ extension must be . js .
How do you name a file professionally?
- Files should be named consistently.
- File names should be short but descriptive (<25 characters) (Briney, 2015)
- Avoid special characters or spaces in a file name.
- Use capitals and underscores instead of periods or spaces or slashes.
- Use date format ISO 8601: YYYYMMDD.
- Include a version number (Creamer et al.