concept any object in category javascript
appears as: ny objects, ny object

This is an excerpt from Manning's book The Joy of JavaScript.
So, behind the scenes, Object.assign is looking only at enumerable, own properties and when you set properties directly on an object or use simple object literals, you can assume it to be the case. If any objects contain the same keys, the object to the right will override the object to the left in the list. Here’s a simple use case:
Just how we extended Function with map and flatMap, we can extend any object. But you can’t just implement these willy-nilly. Users of your code, especially those versed with FP like you, understand and know what to expect when using these APIs. They have a well-defined contract.