Tdd, Typescript, Testing Framework, Software Development, Software Testing.
would sort numerically 🐵 Nope it sorts the stringified version, so you have got to add the comparison function yourself. Cool, so this test didn’t break my implementation 💚 But there’s another general case to test for. The case where the number is not in the array. The setup is very similar,