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

Which statement correctly describes calling .first(3) on this lazy chain that uses uniq?

(1..Float::INFINITY).lazy.map { |x| x % 3 }.uniq.first(3)