Answers for "javascript filter and order"

0

javascript filter and order

let numbers = [4, 2, 5, 1, 3];
numbers.sort((a, b) => a - b);
console.log(numbers);

// [1, 2, 3, 4, 5]
Posted by: Guest on March-18-2020

Code answers related to "javascript filter and order"

Code answers related to "Javascript"

Browse Popular Code Answers by Language