Вы не вызывали функцию, которая, кажется, ваша проблема.
let arr = [16, 'mother', 'kids'];
function concatenateAll(...arr) {
return arr.join('');
}
console.log('Passing 3 individual arguments to the function returns: ', concatenateAll(...arr));