Quantcast
Channel: Answers for "Javascript question."
Browsing latest articles
Browse All 4 View Live

Answer by Spartan301

A function is not a way to store data, it stores a section of code so that it can be used again repeatedly with ease. For example if I have a gameObject that I want to move to a new location each time...

View Article


Answer by aldonaletto

A function *does* something, while a variable *stores* something (a function may also return a value, but that's another story - don't worry about this now). Variables usually have a type: **int**...

View Article

Browsing latest articles
Browse All 4 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>