code: function cleanArray(array) {
          var newArray = [];
  
          for (var i = 0, len = array.length; i < len; i += 1) {
              if (array[i]) {
                  newArray.push(array[i]);
              }
          }
  
          return newArray;
      }
docs: Removes empty index from a array.
  
  @category Array
  @param {Array} arr - The array
  @return {Array}