code: function simpleUnique(array)
  {
      var result = [];
      var hash = {};
      for(var i=0; i<array.length; i++)
      {
          var key = (typeof array[i]) + array[i];
          if(!hash[key])
          {
              result.push(array[i]);
              hash[key] = true;
          }
      }
      return result;
  }
docs: 简单数组去重