0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Pass an Argument

An argument is the value supplied by a function call. Different calls can send different values to the same parameter.

Example

function showColor(color) { console.log("Color:", color); } showColor("blue");

Your task

Call showTopic with the string arrays so the console displays Topic: arrays.