Please enable JavaScript to use CodeHS

CodeHS Glossary


Argument JavaScript

For example, in the short program below, a variable `text` is passed as an argument to the `printText` function: function start(){ var text = "This is some text."; printText(text); } function printText(input){ println(input); }