I'm facing an error at runtime on Android 5.1. The project works fine on Android 7 and upward.
here's the part of the code triggering the error, it's from an external JS file :
------------------------------------------
self._Group = function () {
........
};
self._Group.prototype = {
......
};
console.log(self._Group); // this works
self.TWEEN = new self._Group();
console.log(self.TWEEN); // undefined
------------------------------------------
If self.group is defined, why is new self._Group(); undefined ?