daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Jun 24th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function(key, values, rereduce)
  2. {
  3.   var average = 0;
  4.  
  5.   values.forEach(function(el)
  6.   {
  7.     average += el;
  8.   });
  9.  
  10.   return (average/values.length);
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top