what do arrays do in javascript code example
Example 1: array ub js
var fruits = ['Apple', 'Banana'];
Example 2: array in js
var array_name = [item1, item2, ...];
//Used to store more than 1 items
var fruits = ['Apple', 'Banana'];
var array_name = [item1, item2, ...];
//Used to store more than 1 items