Last active
August 12, 2021 09:31
-
-
Save tofusoup429/44797ffbd067a469e17ea4c98cd873ef to your computer and use it in GitHub Desktop.
This file contains 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
const months = ["Jan", "Mar", "Mar", "April"]; | |
months.splice(1, 2, "Feb", "Feb2"); | |
console.log(months) | |
//output: [Jan,Feb,Feb2,April] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment