<script src="jquery-1.12.3.js"></script><script type="text/javascript">?$(function(){????var arr = [2,5,6]?????$.each(arr, function(index,items) {????console.log(index, items)????});})</script>為什么值能輸出索引值0,1,2,items值卻輸不出來(lái)?怎樣連后面那個(gè)值也輸出來(lái)呢?
console.log(a,b)為什么只能輸出a,怎樣才能讓它輸出a和b?
慕碼人0004322
2018-03-29 22:19:07