Skip to main content
Journey Uncommon Logo
JourneyUncommon
easyRubyhashes literals and fetchSingle-choice MCQ

Given `h = { a: 1, b: 2 }`, what does `h.fetch(:c)` do?

h = { a: 1, b: 2 } h.fetch(:c)