Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardRubyProc vs lambda return and aritySingle-choice MCQ

How does `curry` behave on this lambda that has a required-plus-optional signature, and what determines when the curried chain finally fires?

add = ->(a, b, c = 10) { a + b + c } p add.curry[1][2]