import { sayHello } from './helper.js';
let person = 'John,Sandy';
const nameArr = person.split(',');
const newGreets = new Array();
for (let index = 0; index < nameArr.length; index++)
{
newGreets.push(sayHello(nameArr[index]));
}
console.log(newGreets.toLocaleString());