When two functions with the same name are defined in two applets (same view), one function overrides
Cross-posting this question from Note 1673645.1, hoping it might be useful to the community.
Scenario: Two applets, say, A and B, in the same view contain browser scripts. Each applet defines a function with name "myFunction()".
A script in applet A attempts to call myFunction() of applet A. However, myFunction() of applet B is getting called instead.
Why does this happen, and is there a workaround?