Created
February 11, 2015 08:36
-
-
Save jlcampana/21e0aa03a0a01473258b to your computer and use it in GitHub Desktop.
Meter un array en medio de un 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
Array.prototype.spliceArray = function(index, n, array) { | |
return Array.prototype.splice.apply(this, [index, n].concat(array)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment