So fügen Sie einem Array Variablen hinzu
// how to add variables/string/value to an array in Javascript
const addArray = [
"Hello",
"My",
"Name",
"is"
];
// add/append new value/variable/string to the array
addArray.push("Chetan");
console.log(addArray);
Chetan Nada