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

6 lines
98 B
JavaScript
Raw Normal View History

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