Arithmetic without external state changes
The arithmetic function returns a sum of two supplied primitive values without modifying external state.
Read the example notes
Local-only describes the visible snippet under the declared environment. It does not establish behavior for every JavaScript coercion or a modified runtime. These samples use ordinary numeric inputs and standard built-ins. In a production review, attach the relevant types and dependencies or use static analysis and tests rather than treating a short semantic judgment as a formal guarantee.




