In order to watch an event we can use:
var temp;
eventx.watch (function(error, result){ temp = result.args.val.toNumber();});
Question 1: What is the role of:
function(error, result){ temp = result.args.val.toNumber();}
and why does not it have any name?
Question 2: What does it return?
In general, what are the arguments of watch function?