Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to push string into array in javascript

var arr = ["Hi","Hello","Bonjour"];
arr.push("Hola");
console.log(arr);
 
PREVIOUS NEXT
Tagged: #push #string #array #javascript
ADD COMMENT
Topic
Name
4+9 =