2
when should I use Function nomeDaFunction(){}
and var algumaFunction = function(){}
? is there a correct way or way of good practice?
in my programs, I have always used nomeDaFunction(){}
, but I saw a lot of people using the other way.
2
when should I use Function nomeDaFunction(){}
and var algumaFunction = function(){}
? is there a correct way or way of good practice?
in my programs, I have always used nomeDaFunction(){}
, but I saw a lot of people using the other way.
Browser other questions tagged javascript
You are not signed in. Login or sign up in order to post.