In no way is that true.
E.g. - https://ramdajs.com/docs/#partial
Of course, I’m assuming that the JS programmer is exploiting FP and dynamic types, and not just transliterating Java style static OOP code.
In no way is that true.