Java Script Append Element to Array

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

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

console.log(arr);
 Run code snippetHide results
Cloudy Cassowary