Created
December 16, 2015 18:56
-
-
Save ernestlv/839381a5c87e91403ff3 to your computer and use it in GitHub Desktop.
function to convert an Array-Like object to true array
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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