I have a requirement like, i need to execute a js code for some screens in my application and i need to name the function with viewid like myScreen1().. myScreen3().
But as the function definition is same for all the function names, is there any way to declare such that all the function names will refer to same definition?