Labeling of parameters within function to pull arguments from rest parameter

I’m working my way through the Odin Project and have a simple question about rest parameters:

One of the tutorial asks to ‘Implement a function that takes an array and some other arguments then removes the other arguments from that array:’ and the solution they provide is below

I understand the arguments[0] bit pulls out the first argument from …args, but does the ‘val’ parameter just work to pull any additional arguments from …args? no matter how many other arguments after the first?

const removeFromArray = function(...args) {
    const array = arguments[0];
    return array.filter((val) => !args.includes(val));
};