How to multiple select defined elements

How to multiple select defined elements

$('.class, #id') is the way we normally used to select multiple elements, but if we already defined the variable such as

  1. var $a = $('div.a'),
  2.       $b = $('#b');

Can I bind event on $a and $b at the same time?