DEV Community

Discussion on: Pure Functions in React

Collapse
 
niksrj19 profile image
niksrj19

is factorial function is pure function ? if no then
how to convert a factorial function a pure function ?

Collapse
 
keevcodes profile image
Andrew McKeever

It can be depending on the implementation.