I don\'t understand where the (val) is coming from in the returned arrow function. I get that the max/minLength is an arrow function taking in a argument set on the input f