Last active
September 3, 2019 23:03
-
-
Save masautt/0d1918dcaa0378fcdfcc724ef8facaab to your computer and use it in GitHub Desktop.
How to append to array in JavaScript?
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
let myArr = ["1", "2", "3"]; | |
myArr.push("4"); | |
console.log(myArr); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment