我們希望每一個陣列都有map 這個方法,所以我們在Array.prototype 擴充map function Array.prototype.map = function(callback) { var result = [] ...
確定! 回上一頁