1.0.0 • Published 2 years ago
chenyyy v1.0.0
3个好用的函数
通过npm斐波那契数列安装
$ npm i chenyyy
需要引入
const cw = require('chenyyy');
1.获取指定位数的
const cw = require('chenyyy');
// 调用方法
const result = cw.getFeb(10);
2.封装排序的方法
const arr = [23,22,45,11,20,19,35];
const cw = require( ' chenwei0725');
// 调用方法
cw.sortBig(arr) ;
3.使用递归的方式实现深拷贝
const cw = require('chenyyy');
//调用方法 tar get: 目标对象
const newobj = cw.cloneDeep(target) ;
祝您开心呐!
1.0.0
2 years ago