artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq_demo-release-build/SLF7/s47-e10-prof/build/artdaq_node_server/v1_00_09/src/node_modules/xml2js/node_modules/xmlbuilder/node_modules/lodash/create.js

function Shape() { this.x = 0; this.y = 0; }

function Circle() { Shape.call(this); }

Circle.prototype = _.create(Shape.prototype, { 'constructor': Circle });

var circle = new Circle; circle instanceof Circle; // => true

circle instanceof Shape; // => true