Created
May 17, 2025 17:12
-
-
Save davidystephenson/7c13b4f5b6dee25ee5b82ad313802145 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 9. Write a program to reverse an array | |
var letters = ['a', 'b', 'c'] | |
letters.reverse() | |
console.log(letters) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment