This site is mobile accessible. Press the "Tap Here" button to use a different font-size.


Smartphone icons created by Freepik - Flaticon

Creating an Array from a Literal

// create JS array from JSON literal
const myArray = ["Ford", " BMW", " Fiat"];
document.getElementById("demo").innerHTML = myArray;