Skip to main content
JourneyUncommon
Toggle theme
Sign In
Sign Up
Toggle theme
Home
/
Practice
/
Ruby
easy
Ruby
arrays push map select
Single-choice MCQ
What does this code output?
p [1, nil, 2, false, 3].compact