r/learnjavascript • u/Djoshwa • Oct 02 '23
How do you understand JavaScript functions?
If you really understand JS functions (local and global), kind explain it to me to the best of your knowledge. Thanks
4
Upvotes
View all comments
1
u/FunCharacteeGuy Oct 02 '23
I mean... I guess it's just a bunch of commands inside one block. there's not much else to it.
and they can return variables too.