It is like doing
var _gaq = _gaq ? : _gaq : [];
This means that if _gaq installed, it will install it in _gaq , otherwise a new empty array will be installed by default.
var means local area_gaq is the name of the variable|| means or
He says that if _gaq doesn't exist yet, set it to a new array, which means [] .
source share