Those methods are defined in the Array prototype. When I need to go over an array from my project those values are retrieved together with my expected items, occasioning problems for me.
Maybe you should use Object.defineProperty to write those methods and set enumerable as false.
Those methods are defined in the Array prototype. When I need to go over an array from my project those values are retrieved together with my expected items, occasioning problems for me. Maybe you should use Object.defineProperty to write those methods and set enumerable as false.