Answers for "8.1.3. Varying Data Types¶ Arrays"

0

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];
Posted by: Guest on June-14-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language