Reverse the given array of numbers then print the result.
Array sorting
Reverse the array
Report a typo
Sample Input 1:
Sample Output 1:
[ 10, 8, 6, 4, 2 ]Write a program in JavaScript
let numbers = [2, 4, 6, 8, 10];
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.