Idempotent
function notIdempotent(num) {
return Math.random(num);
}
function goodIdempotent(num) {
console.log(num);
}Last updated
function notIdempotent(num) {
return Math.random(num);
}
function goodIdempotent(num) {
console.log(num);
}Last updated