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

function greet(greeting, punctuation) { return greeting + ' ' + this.user + punctuation; }

var object = { 'user': 'fred' };

var bound = _.bind(greet, object, 'hi'); bound('!'); // => 'hi fred!'

// Bound with placeholders. var bound = _.bind(greet, object, _, '!'); bound('hi'); // => 'hi fred!'