Is it a pure function? – stackoverflow.com

Is the following a pure function? function test(min,max) { return Math.random() * (max - min) + min; } According to the definition of pure function follows below two conditions: which returns ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Is it a pure function? – stackoverflow.com"