Free practice · text · medium
Practice
Trace a formatted return value
A function receives name = "Avery" and returns "Owner: " + name. What text is returned?
Function contract trace
A caller supplies values and receives one defined result
- ContractDefine inputs, output, and failures
- ArgumentsEvaluate supplied values
- ParametersBind local names
- BodyRun focused local logic
- ReturnSend the result to the caller
- TestCheck the public contract
Keep argument evaluation, parameter binding, local state, return behavior, and external side effects visible at the function boundary.