Please enable JavaScript to use CodeHS

Foundations of Computer Science 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

Call a Function JavaScript

Calling a function actually gives the command, so the computer will run the code for that function.

Call a Function

Curly Bracket General

An open curly bracket is { and a close curly bracket is }

Curly Bracket

Function body JavaScript

The part of a function that contains the commands

function body