Skip to main content
Journey Uncommon Logo
JourneyUncommon
mediumRubylazy enumeratorsSingle-choice MCQ

What is the class and value of `sel` and `sel.first(2)` here?

sel = (1..10).lazy.select(&:even?) p sel.class p sel.first(2)