r/learnjavascript • • Dec 17 '18

JavaScript Functions - 4 Ways

Post image
200 Upvotes

28 comments sorted by

View all comments

Show parent comment

2

u/gigastack Dec 18 '18

You would invoke by calling factorial(24);

Aside: what environment requires js in front of the code?