Ternaries on Mouse interaction Y/N?

Pros and cons of doing this please:

(e.type == "rollOver")? doOver:doOut;

Any gain except of condensing the view?
Any loss on speed or performance?

Thanx