doubt about functions in javascript

Asked

Viewed 32 times

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.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.