Ad
  • Custom User Avatar

    The penny is beginning to drop. There is an inferred 'return' after an arrow, so your arrow functions return an arrow function. To begin with I was trying to read it as a function of two variables, which of course is different.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Hi, szib
    I've got to say that I struggle to understand this because of the way functions are being used as variables. I will have to look this up in the context of arrow functions.