Code Studio · Level 5
Function Builder
Students build a reusable function with information inside the parentheses.
Build a helper function.
Example code
function introduce(name, power) {
say(name + " uses " + power);
}
introduce("Nova", "spark jump");
introduce("Milo", "shield glow");
Program result
- Run your code to see output.
Type real JavaScript, then run it.
Function builder complete.
You built a function that can use different information each time it runs.
Try Function Challenge