Object.assign( target, source )
Rough spec expectations:
- Only enumerable own properties of source
- Invoke [[Get]] on property list derived from source, for each property in list [[Put]] on target
- private names are not copied
- unique names are copied
- super mechanism (rebind super)… AWB To determine needs
- Returns modified "target"
I'm curious about the name. I had to read the description to understand what was being assigned. Why not go with something like "merge" or "extend" - names that have already been used in the wild for the same concept?