const objectOf = [ { id: 1213, text: "1213 is the year that Pope Innocent III issues a charter, calling for the Fifth Crusade to recapture Jerusalem.", }, { id: 1050, text: "1050 is the year that Upon the death of Anund Jacob, he is succeeded by his brother Emund the Old as king of Sweden.", }, { id: 529, text: "529 is the year that the Benedictine Order is founded.", }, { id: 1005, text: "1005 is the year that Schaffhausen starts minting its own coins.", }, { id: 1543, text: "1543 is the year that the Japanese receive the first firearms from shipwrecked Portuguese.", }, { id: 1203, text: "1203 is the year that the Fleet of the crusaders enters the Bosphorus on June 23rd.", }, { id: 1795, text: "1795 is the year that the United States and Spain sign the Treaty of Madr, which establishes the boundaries between Spanish colonies and the United States on October 27th.", }, { id: 1814, text: "1814 is the year that Gervasio Antonio de Posadas becomes Supreme Director of Argentina on January 31st.", }, { id: 1712, text: "1712 is the year that the Treaty of Aargau is signed by Catholics and Protestants, introducing the Protestant faith into Switzerland.", }, { id: 1316, text: "1316 is the year that Battle of Manolada between the Burgundian and Majorcan claimants of the Principality of Achaea on July 5th.", }, { id: 1155, text: "1155 is the year that the Papal bull Laudabiliter gives the King of England lordship over Ireland.", }, { id: 103, text: "103 is the year that Emperor Trajan and Manius Laberius Maximus become Roman Consul.", }, { id: 1019, text: "1019 is the year that a treaty between Sweden and Norway is conducted at Kungälv.", }, ]; objectOf.forEach(function (obj) { console.log(`${obj["text"]}`); });