How to access global variable inside jquery mouseout event?

How to access global variable inside jquery mouseout event?

// access variable ttt inside the function

var ttt="123";
$("#records_table tbody").bind('mouseout',{param : ttt}, highlighselecteddates);
function highlighselecteddates(event){
    var data = event.data.param;  // throws ref error
console.log(data);/ throws ref error
console.log(event.data.param); // this logs properly.
}