add string to array [] javascript code example
Example: how to push string into array in javascript
var arr = ["Hi","Hello","Bonjour"];
arr.push("Hola");
console.log(arr);
var arr = ["Hi","Hello","Bonjour"];
arr.push("Hola");
console.log(arr);