a2800276/bencode.js — pull request #2 by fent (2011-12-20 19:40:37+00:00)
Title: Properly decode lists with the integer 0

Without checking if the `pop()` variable is undefined, any integers that are 0 on the list will not be there on the decoded object. I'm guessing the same goes for empty strings because Javascript considers them "false" too.

```js
var data = 'li0ee';
var decoded = benc.decode(data);
assert_obj("List with 0", [0], decoded);
```