I am aware of 3 different type of function declarations in Javascript, and I know minor differences, but I don't know why is it good, why do we need all three?
function MyObject{
function SomeName(){}
this.SomeName = function(){}
var SomeName = function(){}
}