expect(typeof toArray).toBe('function')
var arrayLike = {}
expect(toArray(arrayLike)).toEqual([])
var arrayLike = {0: "uno", length: 1}
expect(toArray(arrayLike)).toEqual(["uno"])
var arrayLike = {0: "uno", length: 1}
var arrayLikeMirror = {0: "uno", length: 1}
toArray(arrayLike)
expect(arrayLike).toEqual(arrayLikeMirror)