I was trying to implement the following code:
var action = function (e) { if (!e) { var e = window.event; } e.cancelBubble = true; i
In the function, actually e has been defined as argument. so when you define some variable same as arguments, it will complains.