Glossary: Software Design Patterns in JavaScript
toSorted
An array method that returns a new sorted array using a compare function you pass in. The compare function is a strategy.
Glossary: Software Design Patterns in JavaScript
An array method that returns a new sorted array using a compare function you pass in. The compare function is a strategy.