• Javascript
  • Object.assign

    What is it? According to the MDN page: The Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object. Why is it important? This is a good way to deal with the concept of immutable objects. […]