artdaq_node_server  v1_00_08
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq-demo-v2_10_00/SLF7/s47-e10-debug/build/artdaq_node_server/v1_00_08/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!'