Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

8.1.1. Declaring an Array¶

let emptyArray = [];

let programmingLanguages = ["JavaScript", "Python", "Java", "C#"];

//Array items can also be declared on multiple lines.
let javaScriptFrameworks = [
   "React",
   "Angular",
   "Ember",
   "Vue"
];
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #Declaring
ADD COMMENT
Topic
Name
8+9 =