Jump to content

.js or .jsx?


eduard

Recommended Posts

Browsers don't care what the filename is, as long as you tell it it's a Javascript file. You can name your Javascript files .php if you really want to, as long as you include them in the page correctly. If you want to double-click a Javascript file in Windows and have the code executed by the script host, then that defaults to .js.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...