How to call one function of a JS file from another function of different JS file
I am trying to call a function of one js file from another function of a different js file, is there any way in pega to achieve this? i am trying to use eval function in one js file to execute another function in different js file. both the JS files are included in scripts of harness. But i don't see trigger (debugging using alert) passed to another js using eval function. Initial js file is invoked from a button click event.