Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

8.1.3. Varying Data Types¶ Arrays

/*JavaScript arrays can hold a mixture of values of any type. 
For example, you can have an array that contains strings, numbers, 
and booleans.*/

let grabBag = ["A string value", true, 99, 105.5];
Source by education.launchcode.org #
 
PREVIOUS NEXT
Tagged: #Varying #Data #Arrays
ADD COMMENT
Topic
Name
8+4 =