复制1const value = { number: 10 }; 2 3const multiply = (x = { ...value }) => { 4 console.log(x.number *= 2); 5}; 6 7multiply(); 8multiply(); 9multiply(value); 10multiply(value);
1const value = { number: 10 }; 2 3const multiply = (x = { ...value }) => { 4 console.log(x.number *= 2); 5}; 6 7multiply(); 8multiply(); 9multiply(value); 10multiply(value);
本题为“单选题”
题库维护不易,您的支持就是我们最大的动力!