functiondeclarationline
nounUK /ˈfʌŋkʃən ˌdekləˈreɪʃən laɪn/
US /ˈfʌŋkʃən ˌdekləˈreɪʃən laɪn/
A line of code that tells the computer the name of a function and what it needs.
The teacher pointed to the function declaration line at the top of the program.
RELATED WORDS
OTHER MEANINGS
2. The first line of a function where its name and inputs are written.
Check the function declaration line to see how many arguments it takes.
3. A statement that introduces a function before it is used in the program.
The compiler reads the function declaration line first.
4. A single row of text that announces a new function in a script.
She highlighted the function declaration line in yellow.