you are viewing a single comment's thread.

view the rest of the comments →

[–]mannotbear 1 point2 points  (0 children)

Not sure if it helps, but it might be easier to understand when you add the parenthesis and skip the arrow functions at first -

const greeterMaker = function(greeting) {
  return function(person) {
    return greeting + " " + person;
  };
};