Variables and Functions

What is a passing parameter?

Function:

Reused-able code

have specific function

Parameter:

Value inside function/()

Passing Parameter:

Value inside ()

EX: function love(2,6){

 c=a+b;

return c;

}

Function is the whole thing, parameters is 2 and 6

What’s variable and value?

Variable is name, but value is the true meaning of thing, the data.

Example:

Apple = Chicken

Meaning that the ‘Apple’ is just name, people called chicken ‘Apple’. Meaning that its name is apple but it’s actually chicken.