ARRAY
// homogenious and heterogenious arrayvar a = 'I am here';
var status = true;
//array -> multiple values
var arr = new Array(); //constructor method
var arr1 = []; //bracket notation
Example:
var hobbies = ['dancing', true, 3423,{ //multiple type data collection values
dance: true,
singing: false
}, []];
Comments
Post a Comment