标签: javascript jquery ecmascript-6
const show1 = function(x, y = () => {x = 2; return x;}) { console.log(y()); console.log(x); };
此代码如何工作?
这东西做什么? function(x,y =()=> {x = 2; return x;}){
它只是为了提高编码知识,而没有其他:)