1. function fun() {
    2. console.log(arguments)
    3. }
    4. fun(1, 2, 3)
    5. // [Arguments] { '0': 1, '1': 2, '2': 3 }
    1. function fun() {
    2. console.log([...arguments])
    3. }
    4. fun(1, 2, 3)
    5. // [ 1, 2, 3 ]