%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/node_modules/date-fns/esm/_lib/assign/
Upload File :
Create Path :
Current File : /var/www/html/node_modules/date-fns/esm/_lib/assign/index.js

export default function assign(target, dirtyObject) {
  if (target == null) {
    throw new TypeError('assign requires that input parameter not be null or undefined');
  }

  dirtyObject = dirtyObject || {};

  for (var property in dirtyObject) {
    if (Object.prototype.hasOwnProperty.call(dirtyObject, property)) {
      target[property] = dirtyObject[property];
    }
  }

  return target;
}

Zerion Mini Shell 1.0