Glossary or terms

Term

Meaning

argument

a value passed to a function when it is called

function

a piece of code that takes one or more inputs and returns a value as an output

function definition

The code that defines how a function should behave

function call

The code that makes use of an existing function definition with a specific set of inputs

input

same as argument

method

same as a function, but specifically it is a function that is defined as part of an object

object

some code that groups a set of named values together

output

same as return value

parameter

variables listed in () in a function definition

return value

the value that is output by a function when it finishes running

type

any one of a number of different kinds of value, such as a string or an integer, an array, or a function

variable

Some named element to which a value can be assigned and updated

Last updated