🌈 搜索
📅  最后修改于: 2022-03-11 14:48:07.189000             🧑  作者: Mango
You can use the sublist method: var myList= [1,2,3,4,5]; var sublist = myList.sublist(1,3); // [2,3]