3 ms·
A good case for Typescript? The string[] vs number[] type would help identify expected output.
by adamredwoods 5y ago
A good case for Typescript? The string[] vs number[] type would help identify expected output.
- Szpadel 5y agonot at all, sort does not change type of those elements, string conversion is only used for comparison, so you still have number[] everywhere