let {a,b,c}={a:"参数1",b:"参数2",c:"参数3"} function aaa({a,b,c}){ console.log(a) //参数1 } aaa({a,b,c})
本文标题:解构赋值
本文链接:https://www.haomeiwen.com/subject/hdzamxtx.html
网友评论