摘要: 1.倒序打印数组;function print(arr,index){ if(index === arr.length) return; print(arr,index+1); console.log(arr[index]); }2.顺序打印数组;function print... 阅读全文
posted @ 2014-12-14 21:33 北京-树苗 阅读(259) 评论(0) 推荐(0)
摘要: $.createSelect= function(options){ $(options.selectors).each(function(index, item){ $(item).each(function(index, selector){ if($(... 阅读全文
posted @ 2014-12-14 21:30 北京-树苗 阅读(237) 评论(0) 推荐(1)