1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-11-09 22:08:58 +01:00
programming-challenges/challenges/sort-array-number/solutions/javascript-easy-sort/solution.js
2020-07-07 14:04:31 +02:00

6 lines
98 B
JavaScript

function solution (numbers) {
return numbers.sort((a, b) => a - b)
}
module.exports = solution