toArray using slice
Merge pull request #1 from ykzts/to-array-using-slice

toArray using slice