I am learning some javascript and I never got the idea of what is the difference between creating a function like this:
var justMe = function(param1, param2) {
code code code;
};
And this:
function justMe(param1, param2) {
code code code;
}
And why in the second example is the semi-colon is not requiered at the end, like in the first example?