思路:闭包。 var sayIt = function(greeting, name, punctuation) { return greeting + ', ' + name + (punctuation || '!') } function partial(fn, str1, str2) { return function(argument) { return fn(str1,str2,argument) } } let res=partial(sayIt, 'Hello', 'Ellie')('!!!') console.l...