index.js
function combineMediaQuery(base, additional) {
  var finalQuery = [];
  base.forEach(function(b) {
    additional.forEach(function(a) {
      finalQuery.push(b + ' and ' + a);
    });
  });
  return finalQuery.join(', ');
}
function combineMediaQuery(base, additional) {
  var finalQuery = [];
  base.forEach(function(b) {
    additional.forEach(function(a) {
      finalQuery.push(b + ' and ' + a);
    });
  });
  return finalQuery.join(', ');
}
function combineMediaQuery ( base , additional ) { var finalQuery = [ ] ; base . forEach ( function ( b ) { additional . forEach ( function ( a ) { finalQuery . push ( b + ' and ' + a ) ; } ) ; } ) ; return finalQuery . join ( ', ' ) ; }
Combines existing media query with 2x media query.
Combines existing media query with 2x media query .