How to convert the below ACC/JavaScript array code in the AJO?
var secFour = [
{language:"englishVer", linetext:"Got Questions?"},
{language:"spanishVer", linetext:"¿Tienes Dudas?"},
{language:"frenchVer", linktype:"oca", linetext:"Avez-vous des Questions?"},
{language:"englishCaVer", linetext:"Got Questions?"},
{language:"englishVer", linetext:"Chat with our agents to get quick help"},
{language:"spanishVer", linetext:"Chatea con nosotras para obtener ayuda rápida"},
{language:"frenchVer", linetext:"Discutez avec nous pour une aide rapide"},
{language:"englishCaVer", linetext:"Chat with our agents to get quick help"}
];
var footerChatText = secFour.filter (function (textitem) {
return textitem.language == langVar
});
<h3><% document.write(secFour[langVar]);%></h3>