In chrome: if i excute this code(javascript)
function abc(event){
console.log('hello: '+event);
}
abc(event);
the above code gives output as : "hello:undefined"
but same code if we excute in firefox we get error what is the simple solution for this.