Is it possible to get all arguments of a function as single object inside that function? June 27, 2022 by Tarik Use arguments. You can access it like an array. Use arguments.length for the number of arguments.