Skip to content

Instantly share code, notes, and snippets.

@ernestlv
Created December 16, 2015 18:56
Show Gist options
  • Save ernestlv/839381a5c87e91403ff3 to your computer and use it in GitHub Desktop.
Save ernestlv/839381a5c87e91403ff3 to your computer and use it in GitHub Desktop.
function to convert an Array-Like object to true array
var toArray = Function.prototype.call.bind(Array.prototype.slice);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment