Skip to content

Instantly share code, notes, and snippets.

@postpostscript
Created December 6, 2015 18:48
Show Gist options
  • Save postpostscript/3505a30ba1431f062a85 to your computer and use it in GitHub Desktop.
Save postpostscript/3505a30ba1431f062a85 to your computer and use it in GitHub Desktop.
function toArray(array) {
return Array.prototype.slice.call(array);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment