for example, a function fn
is now encapsulated.const fn = (a,b,c,d,e,f) => {
console.log(a,b,c,d,e,f)
}
for example, in the above function, I defined seven parameters, but when the function is more complex, it sometimes results in missing parameters. I now think of the possibility of passing values with objects, but I don"t have a particularly clear idea of how to implement them. Ask experienced friends to elaborate on ~