Indeed. Whereas JavaScript and Python even allow a trailing comma in function parameters:
function foo(x,) {}
def foo(x,): pass
Before anyone questions why anyone would do this, it's for putting arguments (or array elements) on separate lines: function foo(
a,
b,
c,
) {}