I have the following javascript function in my flow (desktop power automate):
function ExecuteScript() {
var aTags = document.getElementsByClassName("gridviewlist");
var tdTags = aTags[0].getElementsByTagName("td");
var searchText = "%CurrentFood%";
for (var i = 0; i < tdTags.length; i++) {
if (tdTags[i].textContent.toLowerCase() == searchText.toLowerCase()) {
nutrientName = tdTags[i+3].textContent;
nutrientUnit = tdTags[i+4].textContent;
}
}
const nutrientNU = [nutrientName, nutrientUnit];
return nutrientNU;
}
I want to return an array which has 2 items. However, when I look at in the Flow Variables, it shows the following:

How do I return the 2 items from javascript function so that I can get them in the flow?
Thanks,
Andy