The array you're seeing is how the obfuscation works. It's not done on purpose to make things intentionally incompatible if that's what you're trying to imply.
Sorry, I didn't try to imply that it is done to create incompatibility, just that I wasn't sure if the array was part of the obscuring process or an intentional design for coding purposes. Things sometimes get lost in translation, especially when you are thinking in one language but understand the issue in another.
The problem you're encountering is due to the ChangeEquipOnBattleMZ plugin instead and is likely to pop up again for anyone who also happens to be using plugins that alter the equip scene layout, not just VisuStella MZ.
Now as you state that you are a professional programmer, I'm sure you will understand the following despite your level of expertise in JavaScript:
1. Scene_Equip and Scene_Battle are two very different scenes.
2. One scene's functions do not necessarily exist in another's.
3. By looking at the code for ChangeEquipOnBattleMZ, you will see it is trying to run Scene_Equip functions inside Scene_Battle.
Fair, right? Here's the thing: Core Engine has created checks for specific functions inside Scene_Equip to determine layout compositions. These layout compositions are unique to Scene_Equip and the functions used to determine those layout compositions do not exist in Scene_Battle for obvious reasons. They're not left out intentionally on purpose because adding them in like that is extra baggage. You cannot take a car engine and expect it fit for a jet.
I would say it does make sense, unless they are static methods from static classes, which I don't think so, I don't even know if javascript can have static classes or methods
The interesting part is that Core code actually executes correctly "Scene_Equip.prototype.mainAreaHeight.call(this)" but in a particular method, of which I don't know the name because it's obscured, a check expects it to return as a method, but Core already has executed it and returns, in this case, a number, that's the reason that "x is not a function" type error is thrown by javascript, in other words, Core code correctly executed "Scene_Equip.prototype.mainAreaHeight.call(this)" and returned the value from that execution, but the check expect it to be returned as "mainAreaHeight()", meaning as a method. I can asume that this is javascript messing stuff when probably shouldn't, meaning that in any case, I blame javascript and not the developer. Given that your plugins allow to inject javascript code sometimes, this might eventually become an issue, probably not now, probably not tomorrow, and probably you already have checks for that and I simply can't deduce that they are already there. Call it residual paranoid thinking from years of working as a programmer in the Financial Industry (it's was hell), were I had to add checks even for events with infinitesimal probability of happening in code. If it seemed like I was expecting you and your team to add a check, that was not the case, just a mere suggestion regarding this.
In the end, you can take the suggestion or disregard it, I really appreciate that you take the time to answer the question, even if it comes from a javascript rookie probably asking stupid questions, regardles of my years of working as a professional programmer.
Oh, by the way, I already did the compatibility patch for the person who had the issue, nothing fancy, just a small rewrite to the method in ChangeEquipOnBattleMZ and it worked.
Regards.