A side-effect is something which is external to the body of the current function (often in the form of a function call whose value is not captured).
const whatever = () => { console.log('a log is a side-effect') return Math.random() * 200 }