code: function contains(array, value) {
      var result = false;
      each(array, function (item) {
          result = item === value;
          return !result;
      });
  
      return result;
  }
docs: 判断数组中是否包含某项
  
  @param {Array} array 数组
  @param {*} value 包含的项
  @return {boolean}