Get anchors that have the title attribute

Get anchors that have the title attribute

I've tried this code to get all anchors that have a title attribute but it does not work:
$("a:has([title])").css("fontSize", "1.5em");

The strange thing is also that if I take away the a selector in front of :has all elements in the whole document get selected.