I have a function that can accept any number of arguments...
const getSearchFields = () => { const joined = arguments.join(\'/\'); };
arguments is not a JavaScript array; it's a special object that doesn't have a join method.
arguments
join