Functions That Give Answers
Some functions do things; others work something out and hand the answer back with return. Build a function that calculates how far a racer travels.
What you'll learn
Use return to send a value out of a function.
New command
return speed * time
💻 Code Editorjs
🎬
Press Run Code to see your creation!