然後 yield 配合上當下產生的產品。 ... function *enumerate(arr){ for(i in arr){ yield [i, arr[i]]; } } var arr ... 或者kotlin的會比較好理解:
確定! 回上一頁