Pass by Value
Phrase · Development
Definitions
A parameter-passing convention in which a function receives an independent copy of the caller's argument, so modifications inside the function have no effect on the original value. Most languages pass primitives by value by default.
In plain English: Giving a function its own copy of a value, so whatever the function does with it leaves the original untouched.
Example: "Integers are passed by value in Go, so incrementing the parameter inside the function won't change the caller's variable."