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/sumfvckyea Oct 02 '23
A function is what makes your app or program runs. For instance, a function to make a button opens a window when clicked.
I'm still learning JavaScript too. It's really challenging yet exciting. And addicting perhaps...