A simple question about Javascript functions, differences in invocation/definition.
Posted
by Matthew Willhite
on Stack Overflow
See other posts from Stack Overflow
or by Matthew Willhite
Published on 2010-03-30T17:31:55Z
Indexed on
2010/03/30
17:33 UTC
Read the original article
Hit count: 367
JavaScript
Can someone please explain the difference between the following function definitions?
var alertMessage = function alertMessage(message) {
alert(message);
}
var alertMessage = function(message) {
alert(message);
}
What are the implications of each? Thanks!
© Stack Overflow or respective owner