that claim seems absurd. all the functional languages I've come across also frequently use routines, modules, and 'objects of whatever' to manage the complexity of huge amounts of code.
objects/entities are just a pattern for hiding complexity behind a simple interface. they can be useful in any language, regardless of mutability.
numbers.map(x => x * x)
than let result = [];
for (let i = 0; i < numbers.length; ++i) {
result.push(numbers[i] * numbers[i]);
}For example, what if you now want to write to a log before each multiplication, or you want to time how long each multiplication takes? Suddenly, the latter seems far preferable.
numbers.map(x => {
console.log(x);
return x * x;
})
Still easier to understand than the for loop.