how to get a variable in html from array in js code example
Example 1: array javascript
var familly = []; //no familly :(
var familly = new Array() // uncommon
var familly = [Talel, Wafa, Eline, True, 4];
console.log(familly[0]) //Talel
familly[0] + "<3" + familly[1] //Talel <3 Wafa
familly[3] = "Amir"; //New coming member in the family
Example 2: array in js
function Array() { return []; }
alert(Array(1, 2, 3)); // An empty alert box