Please enable JavaScript to use CodeHS

Tennessee Coding I Glossary

Flashcards

Course:

Module:

Lesson:

Search:

Define a Function JavaScript

Defining a function means to teach the computer a new command and explain what it should do when receiving that command.

Define a Function

Argument JavaScript

A variable passed as a value to a function

argument

Parameter JavaScript

A variable passed in from outside the function

parameter

Return JavaScript

Exit a function and return a value

Return

Return Value JavaScript

The value returned from a function when the function is called.

Default Value JavaScript

The default value given to a parameter when it is initialized if no value is passed in.

Variable General

A symbol or container that holds a value.

variable

Scope General

In what part of the program the variable exits

Scope

Global variable JavaScript

A variable that can be used throughout a program, in every scope

Global variable

Local variable General

A variable that is restricted to use in a certain scope of a program

Local variable