修正一处小地方

强迫症患者看着有点变扭。
This commit is contained in:
俩二蛋
2020-02-25 20:27:01 +08:00
committed by GitHub
parent 717f4e4218
commit 296159a4bc
+1 -1
View File
@@ -197,7 +197,7 @@ function f(x = 1, y) {
}
f() // [1, undefined]
f(2) // [2, undefined])
f(2) // [2, undefined]
f(, 1) // 报错
f(undefined, 1) // [1, 1]