Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javas script add list

// initialize array
var arr = [
  "Hi",
  "Hello",
  "Bonjour"
];

// append new value to the array
arr.push("Osamah");

console.log(arr);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javas #script #add #list
ADD COMMENT
Topic
Name
8+3 =