artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq-demo-v2_09_03/SLF7/s46-e14-prof/build/artdaq_node_server/v1_00_07/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/toPlainObject.js

function Foo() { this.b = 2; }

Foo.prototype.c = 3;

_.assign({ 'a': 1 }, new Foo); // => { 'a': 1, 'b': 2 }

_.assign({ 'a': 1 }, _.toPlainObject(new Foo)); // => { 'a': 1, 'b': 2, 'c': 3 }