Created
December 29, 2018 15:00
-
-
Save zeptobook/ca7f6c6849fd0c57550e87307e8de273 to your computer and use it in GitHub Desktop.
Initialization at the time of Declaration
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
var array1 = ['First', 'Second', 'Third', 'Fourth']; //Method 1 | |
var array2 = new Array('First'); //Method 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment