1、将离散的参数转成数组
2、将数组拆成单个离散的值
https://blog.csdn.net/qq_30100043/article/details/53391308
箭头函数写法
函数名 -> 参数 -> 箭头 -> 返回值
获取数组的key value entries返回二位数组 数组里面对应key value
https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Object/entries
const obj = { foo: 'bar', baz: 42 };
console.log(Object.entries(obj)); // [ ['foo', 'bar'], ['baz', 42] ]