toList no longer returns an array with undefined elements when passed an object with an length attr
Merge pull request #16 from remeow/master

Inconsistent behavior in toList methos