hi you define one one argument of object type so that is happning
(您好,您定义了一个对象类型的一个参数,所以发生了)
const supersearch = function({}) { alert(JSON.stringify(arguments[0])); alert(arguments[0].a + '' + arguments[0].b); }; supersearch({a:1 ,b: 2});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…