function cleanup_query(query, blacklist) {
  let modified = false;

  Object.keys(query).forEach(key => {
    if (blacklist.includes(key)) {
      delete query[key];
      modified = true;
    }
  });

  return modified;
}
// Return `true` if object was changed
Return `true` if object was changed
Return ` true ` if object was changed
function cleanup_query(query, blacklist) {
  let modified = false;
  Object.keys(query).forEach(key => {
    if (blacklist.includes(key)) {
      delete query[key];
      modified = true;
    }
  });
  return modified;
}
function cleanup_query ( query , blacklist ) { let modified = false ; Object . keys ( query ) . forEach ( key => { if ( blacklist . includes ( key ) ) { delete query [ key ] ; modified = true ; } } ) ; return modified ; }
Return `true` if object was changed
Return ` true ` if object was changed