贴几个常用的基础函数
摘要:
取自jsGen的tool.js function isArray(obj) { return Array.isArray ? Array.isArray(obj) : Object.prototype.toString.call(obj) === '[object Array]'; } function isNull(obj) { return obj === null || obj === undefined || obj !== obj; } function toStr(value) { return isNull(v... 阅读全文
posted @ 2013-09-23 15:43 wssdzf 阅读(293) 评论(0) 推荐(1) 编辑