Split array to parts

后端 未结 0 1497
终归单人心
终归单人心 2021-01-31 20:55

I am learning Dart. I have simple JS code that split array to number of parts like:

2: [1,2,4,6,8], [14,17,18,19]
3: [1,2,4], [6,8,14], [17,18,19]
4: [1,2], [4,6]         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题