不是說數(shù)組成員嚴格等于undefined 嗎 為什么var [foo = 2] = [] 中空[]并不是undefined.默認值foo = 2 也生效了呢
ES6解構(gòu)賦值指定默認值
鴻蒙傳說
2018-12-19 18:13:55