artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
/scratch/workspace/artdaq_demo-release-build/SLF7/s48-e14-prof/build/artdaq_node_server/v1_00_09/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!'