1.0.0 • Published 2 years ago
llf0725 v1.0.0
3个好用的函数
1.获取指定位数的斐波那契数列
const llf=require('llf0725');
//调用方法
const result=llf.getFeb(10);
2.封装排序的方法
const arr=[23,22,45,11,20,19,35];
const llf=require('llf0725');
llf.sortBig(arr);
3.使用递归的方式实现深拷贝
const llf=require('llf0725');
//调用方法 target:目标对象
const newObj=llf.cloneDeep(target);
1.0.0
2 years ago