Chalarangelo/30-seconds-of-code
Curated collection of useful Javascript snippets that you can understand in 30 seconds or less. Use reduce() to add each value to an accumulator, initialized with a value of 0, divide by the length of the array.
from Pocket http://ift.tt/2yfs1sx
via IFTTT