I\'m new to js and trying to understand global and private functions. I understand global and local variables. But if I have an html named test.html and a 2 js
test.html
in test2.js you can write this to make the function global
window.abc = function(){...}
and then in test1.js yo can access it like this
window.parent.abc();
I hope it will help you