Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Created July 10, 2020 16:38
Show Gist options
  • Save sandrabosk/e19ed9b509c70dd1bb29ae6704372356 to your computer and use it in GitHub Desktop.
Save sandrabosk/e19ed9b509c70dd1bb29ae6704372356 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment