Skip to content

Instantly share code, notes, and snippets.

@zeptobook
Created December 29, 2018 15:04
Show Gist options
  • Save zeptobook/388d636238e62e4dec9c758c532888e5 to your computer and use it in GitHub Desktop.
Save zeptobook/388d636238e62e4dec9c758c532888e5 to your computer and use it in GitHub Desktop.
Declaration after Initialization
//Declaration after Initialization
array1 = ['First', 'Second', 'Third', 'Fourth']; //Method 1
array2 = new Array('First'); //Method 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment