I am trying to inspect one of my pages on my ipad using edge, but I keep getting the error: Function.caller used to retrieve strict caller. I think that it has something to do with calling a function on the myself var which I have used to store 'this' earlier in the method. I am not using strict mode.
This problem seems more of the JS code issue.
Browsers prevent using caller to get a reference to a strict function, even when accessing caller on a non-strict function. They all support getting a reference to a non-strict function via caller (on a non-strict function), just not a strict function.
Even though you are not using strict mode, the function which you are trying to access may be under strict mode.
Workaround can be, either you make your code completely strict compliant or try making the caller accessible by some other means, like passing it by name as an argument.
Let us know if that helps.
What I don't understand is why everything runs fine with no errors on my pc and on my ipad while they are connected through Edge Inspect. The error only occurs when I try to inspect the dom on the ipad using Edge?