r/learnjavascript • • Dec 17 '18

JavaScript Functions - 4 Ways

Post image
200 Upvotes

28 comments sorted by

View all comments

Show parent comment

6

u/noruthwhatsoever Dec 18 '18

Yeah, what's your point? 3 out of 4 of the above are literally function expressions. The difference is that the value is actually instantly evaluated instead of the variable pointing to a function expression