摘要:
function isNaN(num) { return typeof num "number" && num !== num; } 判断number: function isNumber(num) { return typeof num "number" && num num; } 阅读全文
摘要:
Array.prototype.forEach = function (cb) { for (var i = 0; i < this.length; i++) { cb(this[i], i, this); } }; Array.prototype.map = function (cb) { var 阅读全文
![](/skins/gray/images/separator.gif)