Possible Duplicate:
JavaScript: var functionName = function() {} vs function functionName() {}
What's the difference in declaration of this functions i know example one is the normal way to do it, why we need two and three?
function one(var1,var2) {
alert("inside functtion one");
}
two = function (var1,var2) {
alert("inside function two");
}
var three = function (var1,var2) {
alert("inside function three");
}