Link to home
Start Free TrialLog in
Avatar of panJames
panJames

asked on

Function definitions in Java Script

Hello experts,

plese have a look at this example:

a.
function XXX() {

}

b.
XXX = function() {

}

What is the difference?
Why are there two of them?

Thank you

panJames
ASKER CERTIFIED SOLUTION
Avatar of soupBoy
soupBoy
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial