Math, asked by suraj4253, 1 year ago

How we can define function? ​

Answers

Answered by Ayushrout
1
A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use afunction, you must define it somewhere in the scope from whichyou wish to call it. See also the exhaustive reference chapter about JavaScript functions to get to know the detail
Answered by MemonMahin07
2
A function is a JavaScript procedure—a set of statements that performs a task or calculates a value. To use a function, you must define it somewhere in the scope from which you wish to call it. See also the exhaustive reference chapter about JavaScript functions to get to know the details

Function definition. A technical definition of a function is: a relation from a set of inputs to a set of possible outputs where each input is related to exactly one output. ... For more information about functions, check out the function machine or the function examples.
Similar questions