Skip to content

函数参数列表结尾允许逗号(没啥重要)

主要用于 git 修改同一个函数减少不必要的行变更。

js
function a(a, b, c) {}
function a(a, b, c,) {}