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

What is the result of running this, and what internal rule explains it?

def make pr = proc { return 99 } lam = lambda { return 1 } [pr, lam] end pr, lam = make p lam.call p pr.call