0
Difference between these two
What are the pros and cons for writing one of these functions and whats the difference: function functionName() { } and, var functionName = function() { }
1 Answer
0
I dont have a lot of knowlege in Jscript, so if i am wrong correct me
function functionName(){
}
On this way you create a function
var functionName = function(){
}
On this way you are assinging a function to a variable