No Side Effects
← Back to Referential Transparency
A function with no side effects does not modify any external state, perform I/O, or depend on mutable global variables. The function’s only observable effect is its return value, making it predictable and easy to test.