function helloFunc(word, name) {
console.log(`${word}, ${name}`);
}
function helloFunc(word) {
return function (name) {
console.log(`${word}, ${name}`);
};
}
const helloFunc =(word)=>(name) => {
console.log(`${word}, ${name}`);
}