摘要:
if(object.prototype.toString.apply(my_value)==='[object array]'){ //my_value确实是一个数组} 阅读全文
posted @ 2015-04-25 17:42
Coca-code
阅读(103)
评论(0)
推荐(0)
摘要:
varisNumber=functionisNumber(value){ returntypeofvalue==='number'&&isFinite(value);} 阅读全文
posted @ 2015-04-25 17:35
Coca-code
阅读(147)
评论(0)
推荐(0)