README
@bemoje/arr-selection-sort-numeric
Selection sort array
Version
Travis CI
Dependencies
Stats
Donate
Installation
npm install @bemoje/arr-selection-sort-numeric
npm install --save @bemoje/arr-selection-sort-numeric
npm install --save-dev @bemoje/arr-selection-sort-numeric
Usage
import arrSelectionSortNumeric from '@bemoje/arr-selection-sort-numeric'
arrSelectionSortNumeric([5, 2, 1, 4, 3])
//=> [1, 2, 3, 4, 5]
Tests
Uses Jest to test module functionality. Run tests to get coverage details.
npm run test
API
arrSelectionSortNumeric
Selection sort array
Parameters
arr
Array The array to sort
Returns
Array The sorted array