en.javascript.info
en.javascript.info copied to clipboard
Fix Generator Seed Consistency Test
If you use a static seed in your code, all tests will pass, because technically the seed is the same, however, the input changed so it shouldn't be the same.
Example of a static seed:
And here's the actual seed being used:
With the current code, both solutions will pass even if the input changes.