code: function(array) {
              var sum = 0,
                  i, ln, item;
  
              for (i = 0,ln = array.length; i < ln; i++) {
                  item = array[i];
  
                  sum += item;
              }
  
              return sum;
          }
docs: Calculates the sum of all items in the given array.
  
  @param {Array} array The Array to calculate the sum value of.
  @return {Number} The sum.