已采納回答 / 慕絲6361662
這個地方有錯誤 要把balls.push(aBAll);寫入if條件語句里if (digit[num][i][j] == 1) {? ? ? ? ? ? ? ? ? ? color: colors[Math.floor(Math.random() * colors.length)]? ? ? ? ? ? ? ? }? ? ? ? ? ? ? balls.push(aBAll);? 寫這里才是對的? ? ? ? ? ? }? ? ? ? ? ? balls.push(aBAll);你的在條件語句外面? ? ...
2018-04-27