I found that throughout the JS code, iterating over an array is done as an object.
For example:
for (var i in pData.data) {
This leads to errors if, somewhere in other JS code on the page, the array prototype has been extended with an additional method or function, For example:
Hello!
I found that throughout the JS code, iterating over an array is done as an object. For example:
for (var i in pData.data) {
This leads to errors if, somewhere in other JS code on the page, the array prototype has been extended with an additional method or function, For example:
Why isn't the array intervening done like this ???
for (var i = 0; i <pData.data.length; i ++) {