string to array push 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);