What's the difference in those declarations (in JavaScript)?
- by alexeypro
In Javascript I can write:
function TheFunc(arg) {
   ...
}
or 
TheFunc = function(arg) {
   ...
}
or
TheFunc : function(arg) {
   ...
}
What's the real difference and when should I use which?