JS 支持设置默认参数(可选参数)。
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters
Last updated 3 years ago
Was this helpful?