Tdd, Typescript, Testing Framework, Software Development, Software Testing.
index in the array get the value in the array at that index It’s perfectly suited to property-based testing as you have all the ingredients from the generation to assert that the function you’re testing is behaving correctly. I initially messed up the sort as I assumed sort on a numerical array