title: Exception in template helper: TypeError: _.mapObject is not a function
body: <p>I have facing the below issue while using <code>underscorejs</code> running on meteor.</p>
  
  <blockquote>
    <p>"Exception in template helper: TypeError: _.mapObject is not a
    function"</p>
  </blockquote>
  
  <p>Please advise.</p>
  
  <pre><code>  var types = _.groupBy(areaFlatten, 'category');
          console.log(types);
          var result = **_.mapObject**(types, function(val, key) {
          return  _.reduce(val, function(memo, v) {
            return memo + v.val;
          }, 0) / val.length * 10;
  </code></pre>