Web lists-archives.com

Re: Anyone here know how to read JavaScript?




Dne 22/04/2017 v 11:08 David B. napsal(a):
> Hello
> 
> Does anyone here know how to read JavaScript?
> 
> In particular, why would a web page have TWO JavaScript files attached
> to it instead of just one?
> 
> Could YOU tell what instructions each one was giving?
> 
> I'm curious!
> 
Looking for satisfying answers implies satisfying questions.
Have you promised you would not reveal any information ?

Generally it can be said
the 2 files may serve 2 independent purposes,
written with a modular and reusability approach in mind.

E.g. A code common for many pages is better kept separated
from a code specific for a given page.

-- 
Poutnik

_______________________________________________
general mailing list
general@xxxxxxxxxxxxxxxxx
https://lists.mozilla.org/listinfo/general