title: Javascript / Jquery - .every() equivalent for operating on object
body: <p>How can test over an object like the array.every() method?  Trying to detect if all the terms in a query object are blank before sending it on.  Obviously I could just write a little routine in a for loop, but I'm expecting there's a more succinct way of accomplishing this.</p>
  
  <pre><code>// array - works
  var queryArr = [ "", "" ];
  if(!queryArr.every(function(el, i, arr) { return el == "" } )) {
      alert("nothing to search");
  }
  
  // object - "undefined is not a function"
  var queryObj = { term1: "", term2: "" };
  if(!queryObj.every(function(el, i, arr) { return el == "" } )) {
      alert("nothing to search");
  }
  </code></pre>