let autos: string[] = [
    "Nissan Versa",
    "Volkswagen Jetta",
    "Mazda 3"
];


autos.push("Ford Raptor","Volkswagen Bora","Chevrolet Chevy");
           console.log(autos);
autos.pop();

autos.splice(0,1);

autos.splice(0,1,"Ferrari");

autos.unshift("buggaty");
console.log(autos);
autos.shift();
console.log(autos);

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: