File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -445,7 +445,7 @@ It is particularly useful in scenarios where input consistency needs to be maint
445445``` js
446446// Define a method to generate a value
447447const method = (seed ) => {
448- return copycat .int (seed, { max: 1000 });
448+ return copycat .int (seed, { max: 3 });
449449};
450450
451451// Create stores to track unique values and inputs
@@ -454,11 +454,11 @@ const inputStore = new Set();
454454
455455// Generate a unique number or retrieve the existing one for duplicate input
456456copycat .uniqueByInput (' exampleSeed' , method, inputStore, resultStore);
457- // => 388
457+ // => 3
458458copycat .uniqueByInput (' exampleSeed1' , method, inputStore, resultStore);
459- // => 655
459+ // => 1
460460copycat .uniqueByInput (' exampleSeed' , method, inputStore, resultStore);
461- // => 388
461+ // => 3
462462```
463463
464464### ` copycat.password(input) `
You can’t perform that action at this time.
0 commit comments