1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2024-07-18 02:20:12 +02: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