what is the function of external file | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

what is the function of external file

27th Aug 2016, 8:11 AM
Anchal Singh
Anchal Singh - avatar
3 Réponses
+ 4
Putting your js in a separate file is usually better for maintainability, and allows your browser to cache the file (useful if you use the same script in several pages).
27th Aug 2016, 8:28 AM
Zen
Zen - avatar
0
you can easily maintenance your code if you put in external file. and I think it's can speeding up your code.
16th Oct 2016, 9:53 AM
M Afif Syihabuddin
M Afif Syihabuddin - avatar
0
It's separate your code, so easy to maintain
28th Oct 2016, 7:16 PM
Ramalingam A
Ramalingam A - avatar