PHP Classes

File: upload/themes/bb_simple/assets/moment/src/lib/utils/extend.js

Recommend this page to a friend!
  Classes of James Brows   PHP Bulletin Board   upload/themes/bb_simple/assets/moment/src/lib/utils/extend.js   Download  
File: upload/themes/bb_simple/assets/moment/src/lib/utils/extend.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Bulletin Board
Manage and post messages in multi-user forums
Author: By
Last change:
Date: 3 years ago
Size: 345 bytes
 

Contents

Class file image Download
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; }