Assigns this function to another, which means that values of this function's properties are copied to the target object and the function itself is removed from the project.
Parameters
- target
- The target object whose properties are set with values from this function.