Hi all,
This is probably an easy question, but I was not sure of how to google an answer for it. Is there any real difference between these two function declarations?

function DoSomething(parm) {
//do something here
}

DoSomething = function(parm) {
//do something here
}

The same goes when defining a custom object. For example:

function MyObject() {
//initialization code
}

MyObject = function() {
//initialization code
}

Thanks.