Hacker News new | ask | show | jobs
by noblethrasher 5627 days ago
According to the expected output, you'd need something like:

    function say(x)
    {
    	return function (y) { alert( capitalize(x) + " " + capitalize(y)); }
    }
Where capitalize makes the first character uppercase.
1 comments

Oops, that's a type-o. The capitalize doesn't need to change.

Thanks for the heads up.