Here you can find the source of take(c)
Array.prototype.take = function (c) { return this.slice(0, c); };
Array.prototype.take = function (count) { var result = new Array(); for (var i = 0; i < count && i < this.length; i++) result.push(this[i]); return result; };
Array.prototype.take = function(elements) { if (elements > this.length) { return []; } else { return this.slice(0, elements)
Array.prototype.take = function(howMany, f){ var counter = 0; var i = 0; var addIt = false; var newArray = []; while(counter < howMany && i < this.length){ if(f == undefined){ addIt = true; }else{ ...
Array.prototype.take = function (length) { var result = new Array(); length = Math.min(this.length, length); for (var i = 0; i < length; i++) result.push(this[i]); return result; };