Problem with toggle function in jquery 1.9.1

Problem with toggle function in jquery 1.9.1

When i use toggle for multiple clicks using the jquery 1.9.1 plugin, there is an error
the code:

$('a').toggle(function() {
console.log('click1');
}, function() {
console.log('click2');
}, function() {
console.log('click3');
})

the error:

Uncaught TypeError: Property 'function () { console.log('click2'); }' of object #<Object> is not a function

If is use the same code using 1.8.3 it works fine,
there may be a prodblem with the new plugin,
just wanted you guys to check