pass-by-value
Pass-by-value for most modern languages:
- Create a new location, l1
- Lookup the Storable value (SV), “s”, of the provided location.
- Store “s” into “l1”.
- The function argument, x, becomes bound to l1, in the function environment.
Pass-by-value for most modern languages: