surdu / utils-js

:wrench: My collection of JavaScript utils

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add array clone

surdu opened this issue · comments

commented
Array.prototype.clone = function() {
	return this.slice(0);
};