DarkPhoenix,
function printFullName(firstName, lastName, middleName) {
console.log(`${firstName}${lastName}${middleName}`)
}
const curryN = (num, fn) => {
const arg = [];
const f = a => arg.push(a) == num ? fn(...arg) : f
return f
}
const curriedPrintFullName = curryN(3, printFullName);
curriedPrintFullName('Semen')('Semenovich')('Kostev')