diff --git a/readme.md b/readme.md index 0333e14..14f9f78 100644 --- a/readme.md +++ b/readme.md @@ -73,7 +73,11 @@ greet // yo; --- ## Side effects +> A function or expression is said to have a side effect if apart from returning a value, it modifies some state or has an observable interaction with external functions. +```js +console.log("IO is a side effect!"); +``` --- ## Idempotency