Intial
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
(function() {
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(Array.prototype, 'count', {
|
||||
get: function () { return this.length; }
|
||||
});
|
||||
|
||||
if (Array.prototype.addRange) return;
|
||||
|
||||
Array.prototype.addRange = function (target) {
|
||||
this.push.apply(this, target);
|
||||
};
|
||||
|
||||
})();
|
||||
Reference in New Issue
Block a user