Simplifying the Object.assign Method in JavaScript

In JavaScript, an object's assign method copies the source object’s own enumerable properties to a target object and returns that target object.

There are two important keywords in the above sentence: