danmactough/node-feedparser — Issue #9: VERY IMPORTANT! Do not override Array.prototype!
Author: bminer
Created: 2012-02-20 17:38:38+00:00
State: open

See https://github.com/danmactough/node-feedparser/blob/master/lib/utils.js#L70

Please do not change the Array prototype. It is very bad and causes major headaches that are **very difficult to debug**! No exception here.

Look at what this does:

```javascript
var x = [1, 2, 3];
for(var i in x) console.log(i); //Prints 0, 1, 2
require('feedparser');
for(var i in x) console.log(i); //Prints 0, 1, 2, and unique!! NOOOOO!!!!
```

Please fix this at your earliest convenience. Thanks!