复制1const add = x => x + x; 2 3function myFunc(num = 2, value = add(num)) { 4 console.log(num, value); 5} 6 7myFunc(); 8myFunc(3);
1const add = x => x + x; 2 3function myFunc(num = 2, value = add(num)) { 4 console.log(num, value); 5} 6 7myFunc(); 8myFunc(3);
本题为"单选题"
题库维护不易,您的支持就是我们最大的动力!