📅  最后修改于: 2022-03-11 15:04:05.144000             🧑  作者: Mango
const collect = require('collect.js');
let arr = ['kripa', 'biltu', 'chinu', 1, 2, 3];
const collection = collect(arr);
const newObject = collection.toArray();
console.log(newObject);