I am using a an array called "workingLinks", in my javascript function first I define the array as
workingLinks = [];
Then I use console
console.log(workingLinks);
Now the console displays as
[remove: function] ;
here if i use a for loop it is iterating over the function which i don't want. If I create an array in console then it works fine, shows [] as expected. Anybody have the idea of how the array holds remove function?
removemethod to theArrayprototype.Arrayprototype.removefunction is probably being used elsewhere, but try:delete Array.prototype.remove