mirror of
https://github.com/theoludwig/programming-challenges.git
synced 2025-05-18 12:02:53 +02:00
✨ Add "sort-array-alphabet" challenge
This commit is contained in:
@ -0,0 +1,4 @@
|
||||
# javascript-easy-sort - sort-array-number
|
||||
|
||||
Programming language : JavaScript
|
||||
Created by [@Divlo](https://github.com/Divlo) at 7 July 2020.
|
@ -0,0 +1,5 @@
|
||||
function solution (numbers) {
|
||||
return numbers.sort((a, b) => a - b)
|
||||
}
|
||||
|
||||
module.exports = solution
|
Reference in New Issue
Block a user