abouthome.js mozilla start page explanation
Ia am trying to understand by myself some random pages on the net, and I have started with the default firefox 11 start page, which is entirely stored with the installation.
For example, here is the beginning of a function:
gSearchEngine = JSON.parse(localStorage["search-engine"]);
I am asking, how do you, folks, learn web developing when you have absolutely NO friend that knows something in coding, no class lessons about that, and completely specific and obscure things like this that deny all the laws of programming you have ever learned at school??
i know, there must be some dumb reason, as always. I am just too stupid to find it...
here another example:
and then, without warning:
let url = gSearchEngine.searchUrl;
Can someone help me and explain why this piece (abouthome.js) of code seems to know things it should not know?
Thanks for your help, and sorry for the long message from a beginner!