Function
A function is a reusable block of code that has inputs, arguments, and can return a value when it is called.
Here, the function name is abs
. It is passed in the value of -23
, and returns 23
when called with abs()
.
Some functions can be passed a variable number of arguments.
We can nest function calls to evaluate sophisticated expressions.