%PDF- %PDF-
Direktori : /proc/thread-self/root/home/medipszd/www/bower_components/moment/src/lib/utils/ |
Current File : //proc/thread-self/root/home/medipszd/www/bower_components/moment/src/lib/utils/extend.js |
import hasOwnProp from './has-own-prop'; export default function extend(a, b) { for (var i in b) { if (hasOwnProp(b, i)) { a[i] = b[i]; } } if (hasOwnProp(b, 'toString')) { a.toString = b.toString; } if (hasOwnProp(b, 'valueOf')) { a.valueOf = b.valueOf; } return a; }