Skip to content

Commit

Permalink
fix Vector.toArray()
Browse files Browse the repository at this point in the history
  • Loading branch information
mateogianolio committed Apr 17, 2015
1 parent 7c8c2af commit e36e7e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vector.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@
if(!this.values)
return [];

return this.values;
return [].prototype.slice(this.values);
};

module.exports = Vector;
Expand Down

0 comments on commit e36e7e4

Please sign in to comment.