📜  toarray javascript代码示例

📅  最后修改于: 2022-03-11 15:04:05.144000             🧑  作者: Mango

代码示例1
const collect = require('collect.js'); 
  
let arr = ['kripa', 'biltu', 'chinu', 1, 2, 3]; 
    
const collection = collect(arr); 
    
const newObject = collection.toArray(); 
  
console.log(newObject);