js 小细节(持续更新)

1.在对数据进行操作时,一定要考虑数据里面每一个value值是否存在

$.each(data, function(i, item){
if(item == null || item.firstFrame == null || item.url == null){
return true;
}
})
posted @ 2017-02-22 12:19  侧耳倾听的世界  阅读(118)  评论(0编辑  收藏  举报