一个很奇怪的 现象 ,求解析 :
let fo1 = function(x, y = 1) {}
fo1.length // 1
let fo2 = function(y = 1 ,x ) {}
fo2.length // 0
let fo3 = function(y , x ,z = 2) {}
fo3.length // 2
let fo4 = function(y , x ,z) {}
fo4.length // 3
温温酱
摇曳的蔷薇
随时随地看视频慕课网APP
相关分类