可変長引数*よりもオブジェクト引数の方が便利だな。
test(default, option:={}) {
if (IsObject(option) and (option.HasProp("xxx")) {
; ------
}
}