Quantcast
Channel: Answers for "Javascript question."
Browsing all 4 articles
Browse latest 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


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 all 4 articles
Browse latest View live


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