dmn-eval-js-es5
Version:
Evaluation of DMN 1.1 decision tables, limited to S-FEEL (Simple Friendly Enough Expression Language), es5 browser compatible
16 lines (15 loc) • 436 B
JavaScript
;
/*
*
* ©2016-2017 EdgeVerve Systems Limited (a fully owned Infosys subsidiary),
* Bangalore, India. All Rights Reserved.
*
*/
// add new properties to the kwargs object
// returns the updated _args object
module.exports = function (_args) {
var obj = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
return Object.assign({}, _args, {
kwargs: Object.assign({}, _args.kwargs, obj)
});
};