DEV Community

Discussion on: Improve your JavaScript code with these...

Collapse
 
gsonderby profile image
Gert Sønderby

At the risk of asking a stupid question, in what way does Math.max(x, y); violate function purity? I cannot for the life of me think of a case.