What is an example of an impure function in JavaScript

Viewed 10432

Having seen a lot of pure functions and how they have no side effects, what would be an example of an impure function, which is always been antagonized as unstable and major source of error?

6 Answers
Related