JSFiddle - React, Tailwind, and code Playground
by cordeliaf
JavaScript
var pet = { dog: { breed: ["Maltese","Coton","White_Terrier","Westie"], name: ["Simba","Coco","Ben","Tigger"], color: "white", description: "They are all white in color, sometimes come with beige on their ears", size:[ "medium", 0, 1, 2 ]
}};
var sim =["simba", "fong"];
alert(sim.join(""));
alert(sim[0].toUpperCase()+" "+"size is:" + pet.dog.size[0]);
alert("My dog is a " + pet.dog.breed[0]+ " " +"and his name is" +" " + pet.dog.name[0]);
// + " " +"and his name is" +" " + pet.dog.name[0]);