easyjs-function
v1.0.6
Published
javascript Function Library
Downloads
16
Readme
easyjs-function
整理一些比较特殊的js方法,包括以下范围
- 对象数组操作
- 表单操作
- window操作
- 树结构数据操作
Example
import { treeAndPro } from "easyjs-function";
let c = [
{
name: 'ling',
age: 34,
children:[
{
name: 'ling2',
age: 123
},
{
name: 'ling3',
age: 456
},
]
},
{
name: 'ling4',
age: 232
}
]
treeAndPro(c, "newKey", "1234");