function curryIt(fn) { let args=[] const fnn= (arg)=>{ args.push(arg) if(args.length===3){ return fn(...args) }else{ return fnn } } return fnn }