To define a rest parameter in JavaScript you need to use a special prefix before the identifier which is a triple dot (...). The arguments that are passed ...
確定! 回上一頁