Javascript Array cube(). Copy Array.prototype.cube = function () { return this.map(function(n) { return n*n*n; }); /*from w w w . j a v a 2 s . co m*/ } ...
確定! 回上一頁