const numbers = [3, 5, 6, 2];
-
Exercise 1: Reverse the array (
numbers
). -
Exercise 2: Sort an array (
numbers
) and then reverse it. -
Exercise 3: Reverse a string:
const name = 'ivan';
// ... your code here
const numbers = [3, 5, 6, 2];
Exercise 1: Reverse the array (numbers
).
Exercise 2: Sort an array (numbers
) and then reverse it.
Exercise 3: Reverse a string:
const name = 'ivan';
// ... your code here