1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-12-08 00:45:29 +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