📅  最后修改于: 2022-03-11 15:02:42.009000             🧑  作者: Mango
// initialize array
var arr = [
"Hi",
"Hello",
"Bonjour"
];
// append new value to the array
arr.push("Hola");
console.log(arr);
Run code snippetHide results