Code coverage report for lib/mapreduce/evalfunc.js

Statements: 100% (2 / 2)      Branches: 100% (0 / 0)      Functions: 100% (1 / 1)      Lines: 100% (2 / 2)      Ignored: none     

All files » lib/mapreduce/ » evalfunc.js
1 2 3 4 5 6 7    1   533    
'use strict';
 
module.exports = function (func, emit, sum, log, isArray, toJSON) {
  /*jshint evil:true,unused:false */
  return eval("'use strict'; (" + func.replace(/;\s*$/, "") + ");");
};