Function prototype: Difference between revisions

Line 318:
 
List.prototype.push = function() {
return [].push.apply(this, arguments);
return this.length;
};
 
Line 341 ⟶ 340:
 
List.prototype.push = function() {
return [].push.apply(this, arguments);
return this.length;
};
 
Anonymous user