0Pricing
Javascript for Kids · Lesson

Getting Answers Back

Return results from a function.

Spells That Answer 💬

Some spells do not just speak. They hand you an answer back! 🎁

The magic word for this is return. ↩️

Like Asking a Wizard 🧙

Imagine asking a wizard: "What is 2 + 2?"

The wizard thinks, then hands you the answer: 4! 🪄

All lessons in this course

  1. What Is a Function?
  2. Making Your First Function
  3. Giving Functions Information
  4. Getting Answers Back
← Back to Javascript for Kids